aboutsummaryrefslogtreecommitdiffstats
path: root/databases/foundationdb73-server/files/patch-cmake_CompileBoost.cmake
blob: 4da2a7dccdf162cc9b55450033ca5be3411d73ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- cmake/CompileBoost.cmake.orig	2023-06-01 02:57:35 UTC
+++ cmake/CompileBoost.cmake
@@ -123,7 +123,7 @@ if(USE_SANITIZER)
 endif()
 
 # since boost 1.72 boost installs cmake configs. We will enforce config mode
-set(Boost_USE_STATIC_LIBS ON)
+set(Boost_USE_STATIC_LIBS OFF)
 
 # Clang and Gcc will have different name mangling to std::call_once, etc.
 if (UNIX AND CMAKE_CXX_COMPILER_ID MATCHES "Clang$")
@@ -151,7 +151,7 @@ if(WIN32)
   return()
 endif()
 
-find_package(Boost 1.78.0 EXACT QUIET COMPONENTS context filesystem iostreams serialization system CONFIG PATHS ${BOOST_HINT_PATHS})
+find_package(Boost 1.78.0 COMPONENTS context filesystem iostreams serialization system CONFIG PATHS ${BOOST_HINT_PATHS})
 set(FORCE_BOOST_BUILD OFF CACHE BOOL "Forces cmake to build boost and ignores any installed boost")
 
 # The precompiled boost silently broke in CI.  While investigating, I considered extending