From 3ffac15c26c927dcd4a10b4707db7c82dfd56868 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquemin Date: Sun, 7 Apr 2024 15:20:03 +0200 Subject: [PATCH] CMakeLists: add new common variable for dependencies. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f7e0419..51c3e72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)