1
0
Fork 0
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:
Shlomi Fish 2020-11-12 12:33:31 +02:00
parent 73088a0a19
commit 6d9c6b272b

View file

@ -174,7 +174,15 @@ foreach (_lib ${bindings_library} ${sample_library})
)
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
${python3_sys_libs}
${shiboken_shared_libraries}
${sample_library}
${pyside2_link}