Skip to content

Commit e5775ad

Browse files
committed
For the tests, force the usage of the Boost static libraries by setting Boost_USE_STATIC_LIBS to ON in CMake
1 parent 3050179 commit e5775ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
1717
endif()
1818

1919
# Boost::unit_test_framework
20+
set(Boost_USE_STATIC_LIBS ON)
2021
find_package(Boost 1.54.0 REQUIRED COMPONENTS unit_test_framework)
2122
target_link_libraries(tsl_robin_map_tests PRIVATE Boost::unit_test_framework)
2223

0 commit comments

Comments
 (0)