mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +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
|
@ -1,4 +1,3 @@
|
|||
add_executable(c_example EXCLUDE_FROM_ALL test_capi.c)
|
||||
target_link_libraries(c_example PRIVATE libz3)
|
||||
target_include_directories(c_example PRIVATE "${CMAKE_SOURCE_DIR}/src/api")
|
||||
set_property(TARGET c_example APPEND PROPERTY LINK_FLAGS ${Z3_DEPENDENT_EXTRA_C_LINK_FLAGS})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue