mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
fix build on fedora 33
This commit is contained in:
parent
73088a0a19
commit
6d9c6b272b
1 changed files with 8 additions and 0 deletions
|
@ -174,7 +174,15 @@ foreach (_lib ${bindings_library} ${sample_library})
|
||||||
)
|
)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
set(python3_sys_libs)
|
||||||
|
if (EXISTS "/etc/fedora-release")
|
||||||
|
list(APPEND python3_sys_libs
|
||||||
|
"/usr/lib64/libpython3.9.so"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${bindings_library} PRIVATE
|
target_link_libraries(${bindings_library} PRIVATE
|
||||||
|
${python3_sys_libs}
|
||||||
${shiboken_shared_libraries}
|
${shiboken_shared_libraries}
|
||||||
${sample_library}
|
${sample_library}
|
||||||
${pyside2_link}
|
${pyside2_link}
|
||||||
|
|
Loading…
Add table
Reference in a new issue