mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
if none are set build static
This commit is contained in:
parent
d5cd29b333
commit
aecd920b57
@ -94,8 +94,9 @@ if (BUILD_STATIC_LIBS)
|
||||
message(STATUS "Building static libraries")
|
||||
endif()
|
||||
|
||||
if (NOT BUILD_SHARED_LIBS)
|
||||
# build static libs
|
||||
if (NOT BUILD_STATIC_LIBS AND NOT BUILD_SHARED_LIBS)
|
||||
# if none are set build static libs
|
||||
message(STATUS "Neither shared nor static libraries were requested, building static libraries")
|
||||
set(BUILD_STATIC_LIBS ON)
|
||||
endif ()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user