From 4681c5b34735fed4aee2ac130c3e7644b453c6cb Mon Sep 17 00:00:00 2001 From: christophe Date: Thu, 21 Dec 2023 13:35:52 +0100 Subject: [PATCH] Fix lib build dependent of test build --- glm/CMakeLists.txt | 3 +++ test/CMakeLists.txt | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/glm/CMakeLists.txt b/glm/CMakeLists.txt index 2d5cff2f3..7e861bb53 100644 --- a/glm/CMakeLists.txt +++ b/glm/CMakeLists.txt @@ -1,3 +1,6 @@ +option(BUILD_SHARED_LIBS "Build shared library" ON) +option(BUILD_STATIC_LIBS "Build static library" ON) + file(GLOB ROOT_SOURCE *.cpp) file(GLOB ROOT_INLINE *.inl) file(GLOB ROOT_HEADER *.hpp) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 985aa5170..0946dcba0 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,6 +1,4 @@ option(GLM_QUIET "No CMake Message" OFF) -option(BUILD_SHARED_LIBS "Build shared library" ON) -option(BUILD_STATIC_LIBS "Build static library" ON) option(GLM_TEST_ENABLE_CXX_98 "Enable C++ 98" OFF) option(GLM_TEST_ENABLE_CXX_11 "Enable C++ 11" OFF) option(GLM_TEST_ENABLE_CXX_14 "Enable C++ 14" OFF)