mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
When building with OpenMP make sure libz3 passes extra linker
flags. This is necessary for libz3 to be usable from the Python bindings when libz3 is built with gcc or clang.
This commit is contained in:
parent
fb449517e3
commit
9b48b5ca83
3 changed files with 2 additions and 2 deletions
|
@ -140,6 +140,8 @@ endif()
|
|||
# automatically link against the libs in Z3_DEPENDENT_LIBS
|
||||
target_link_libraries(libz3 INTERFACE ${Z3_DEPENDENT_LIBS})
|
||||
|
||||
set_property(TARGET libz3 APPEND PROPERTY LINK_FLAGS ${Z3_DEPENDENT_EXTRA_CXX_LINK_FLAGS})
|
||||
|
||||
# Declare which header file are the public header files of libz3
|
||||
# these will automatically installed when the libz3 target is installed
|
||||
set (libz3_public_headers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue