diff --git a/CMakeLists.txt b/CMakeLists.txt index 70f8c337..dd1645a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,7 @@ endif() # Boost ------------------------------------------------------------------------ set(Boost_USE_MULTITHREAD ON) -set(Boost_USE_STATIC_LIBS ON) +set(Boost_USE_STATIC_LIBS ON CACHE BOOL) set(Boost_USE_STATIC_RUNTIME OFF) find_package(Boost 1.68 COMPONENTS system program_options filesystem date_time REQUIRED)