Skip to content

Commit

Permalink
For the tests, force the usage of the Boost static libraries by setti…
Browse files Browse the repository at this point in the history
…ng Boost_USE_STATIC_LIBS to ON in CMake
  • Loading branch information
Tessil committed Apr 3, 2022
1 parent 3050179 commit e5775ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e5775ad

Please sign in to comment.