mirror of
https://github.com/Z3Prover/z3
synced 2025-05-29 10:19:11 +00:00
cmake: build with -fvisibility-inlines-hidden
This commit is contained in:
parent
2f9be23d90
commit
7cda90c06a
1 changed files with 1 additions and 0 deletions
|
@ -351,6 +351,7 @@ option(Z3_BUILD_LIBZ3_SHARED "Build libz3 as a shared library if true, otherwise
|
|||
################################################################################
|
||||
if (NOT MSVC)
|
||||
z3_add_cxx_flag("-fvisibility=hidden" REQUIRED)
|
||||
z3_add_cxx_flag("-fvisibility-inlines-hidden" REQUIRED)
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue