From e5775ad98be9f88fa7887504ca3ce850f0265fd8 Mon Sep 17 00:00:00 2001 From: Tessil Date: Sun, 3 Apr 2022 17:50:47 +0100 Subject: [PATCH] For the tests, force the usage of the Boost static libraries by setting Boost_USE_STATIC_LIBS to ON in CMake --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3accb0e..af9ad7d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -17,6 +17,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") endif() # Boost::unit_test_framework +set(Boost_USE_STATIC_LIBS ON) find_package(Boost 1.54.0 REQUIRED COMPONENTS unit_test_framework) target_link_libraries(tsl_robin_map_tests PRIVATE Boost::unit_test_framework)