diff --git a/README.md b/README.md index 0268221..0b472f3 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ target_link_libraries(your_target PRIVATE tsl::hopscotch_map) If the project has been installed through `make install`, you can also use `find_package(tsl-hopscotch-map REQUIRED)` instead of `add_subdirectory`. -The code should work with any C++11 standard-compliant compiler and has been tested with GCC 4.8.4, Clang 3.5.0 and Visual Studio 2015. +The code should work with any C++17 standard-compliant compiler. To run the tests you will need the Boost Test library and CMake. diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 20f0ff5..0066768 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -8,7 +8,7 @@ add_executable(tsl_hopscotch_map_tests "main.cpp" "hopscotch_set_tests.cpp" "policy_tests.cpp") -target_compile_features(tsl_hopscotch_map_tests PRIVATE cxx_std_11) +target_compile_features(tsl_hopscotch_map_tests PRIVATE cxx_std_17) if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") target_compile_options(tsl_hopscotch_map_tests PRIVATE -Werror -Wall -Wextra -Wold-style-cast -DTSL_DEBUG -UNDEBUG) @@ -18,7 +18,7 @@ endif() # Boost::unit_test_framework set(Boost_USE_STATIC_LIBS ON) -find_package(Boost 1.54.0 REQUIRED COMPONENTS unit_test_framework) +find_package(Boost REQUIRED COMPONENTS unit_test_framework) target_link_libraries(tsl_hopscotch_map_tests PRIVATE Boost::unit_test_framework) # tsl::hopscotch_map