From e14db5557ccc4e80c39e6dcf9b0e1e32d36ded80 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 2d5cff2f..7e861bb5 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 985aa517..0946dcba 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)