From 2bdfeb235214c8cddfcf2abeeff86a88ef47c671 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Fri, 15 Mar 2024 17:13:37 +0100 Subject: [PATCH] build boost static --- CMake/resolve_dependency_modules/boost/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/resolve_dependency_modules/boost/CMakeLists.txt b/CMake/resolve_dependency_modules/boost/CMakeLists.txt index 4f028d443c7be..51d8942a5ebe0 100644 --- a/CMake/resolve_dependency_modules/boost/CMakeLists.txt +++ b/CMake/resolve_dependency_modules/boost/CMakeLists.txt @@ -62,7 +62,7 @@ list(APPEND BOOST_INCLUDE_LIBRARIES ${BOOST_HEADER_ONLY}) # The `headers` target is not created by Boost cmake and leads to a warning list(REMOVE_ITEM BOOST_INCLUDE_LIBRARIES headers) -set(BUILD_SHARED_LIBS ON) +set(BUILD_SHARED_LIBS OFF) FetchContent_MakeAvailable(Boost) list(TRANSFORM BOOST_HEADER_ONLY PREPEND Boost::)