From fe1daeec0d90e2b2a45af5ccb91e3e8f22d4cc08 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 15 Oct 2023 23:46:14 +0800 Subject: [PATCH] Try to fix cmake default dynamic lib bug. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 428a0a7c..086e5048 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ if (EMSCRIPTEN) set(CRU_DEFAULT_BUILD_SHARED_LIBS OFF) endif() -option(BUILD_SHARED_LIBS "Try to build shared libraries as default" CRU_DEFAULT_BUILD_SHARED_LIBS) +option(BUILD_SHARED_LIBS "Try to build shared libraries as default" ${CRU_DEFAULT_BUILD_SHARED_LIBS}) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_EXTENSIONS OFF)