CMakeLists: add new common variable for dependencies.
This commit is contained in:
parent
c48165614a
commit
3ffac15c26
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ option(SAVETOOL_USE_SYSTEM_LIBS "Use system-wide versions of the dependencies in
|
|||
if(NOT SAVETOOL_USE_SYSTEM_LIBS)
|
||||
# Generic variables shared by multiple libs that don't provide their own.
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
|
||||
set(BUILD_STATIC_LIBS ON CACHE BOOL "" FORCE)
|
||||
set(BUILD_TESTING OFF CACHE BOOL "" FORCE)
|
||||
|
||||
set(CORRADE_BUILD_DEPRECATED OFF CACHE BOOL "" FORCE)
|
||||
|
|
Loading…
Reference in a new issue