Skip to content

Commit 3669543

Browse files
rename additional build options #2709
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 429fc7c commit 3669543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ endif()
348348
################################################################################
349349
# Option to control what type of library we build
350350
################################################################################
351-
option(BUILD_LIBZ3_SHARED "Build libz3 as a shared library if true, otherwise build a static library" ON)
351+
option(Z3_BUILD_LIBZ3_SHARED "Build libz3 as a shared library if true, otherwise build a static library" ON)
352352

353353

354354
################################################################################
@@ -375,7 +375,7 @@ endif()
375375
# This is required because code built in the components will end up in a shared
376376
# library. If not building a shared library ``-fPIC`` isn't needed and would add
377377
# unnecessary overhead.
378-
if (BUILD_LIBZ3_SHARED)
378+
if (Z3_BUILD_LIBZ3_SHARED)
379379
# Avoid adding -fPIC compiler switch if we compile with MSVC (which does not
380380
# support the flag) or if we target Windows, which generally does not use
381381
# position independent code for native code shared libraries (DLLs).

0 commit comments

Comments
 (0)