Choose static boost libs in package mode only
This commit is contained in:
parent
ed92e28a8b
commit
36446c66ac
1 changed files with 5 additions and 2 deletions
|
|
@ -36,11 +36,14 @@ if(PSEMEK_UBSAN)
|
|||
list(APPEND CMAKE_CXX_FLAGS -fsanitize=undefined)
|
||||
endif()
|
||||
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
|
||||
get_directory_property(PSEMEK_PARENT_DIRECTORY PARENT_DIRECTORY)
|
||||
|
||||
add_subdirectory(package)
|
||||
|
||||
if(PSEMEK_PACKAGE_MODE)
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tools)
|
||||
add_subdirectory(libs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue