CMakeLists: add new common variable for dependencies.

This commit is contained in:
Guillaume Jacquemin 2024-04-07 15:20:03 +02:00
parent c48165614a
commit 3ffac15c26
Signed by: williamjcm
SSH Key Fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A
1 changed files with 1 additions and 0 deletions

View File

@ -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)