From 3d7ca5fb50606bb3d1d29af57f9f4ade7e2a73c2 Mon Sep 17 00:00:00 2001 From: water Date: Wed, 28 Oct 2020 20:15:31 -0400 Subject: [PATCH] fix cmake setting for spdlog --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dafd54b5d..58f6dadcf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ include_directories(SYSTEM third-party/inja) # adding this as a SYSTEM include suppresses all the terrible warnings in spdlog include_directories(SYSTEM third-party/spdlog/include) # this makes spdlog generate a shared library that we can link against -set(SPDLOG_BUILD_SHARED ON) +set(SPDLOG_BUILD_SHARED ON CACHE BOOL "a" FORCE) # this makes the spdlog includes not use the header only version, making compiling faster add_definitions(-DSPDLOG_COMPILED_LIB)