From 81c9070c616ca828b1848e7e6f1543f45ec384f8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 24 Mar 2021 19:16:44 +0300 Subject: README: update --- test/unit_tests/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/unit_tests/CMakeLists.txt') diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index 7669e30..16da801 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -4,7 +4,9 @@ set_target_properties(unit_tests PROPERTIES OUTPUT_NAME math-server-unit-tests) target_link_libraries(unit_tests PRIVATE lexer parser) -find_package(Boost REQUIRED COMPONENTS unit_test_framework) +find_package(Boost 1.67.0 REQUIRED COMPONENTS unit_test_framework) +# It would be Boost 1.66 in a perfect world, but the tests fail to compile with +# that: https://lists.boost.org/boost-bugs/2018/01/49711.php. target_link_libraries(unit_tests PRIVATE Boost::disable_autolinking Boost::unit_test_framework) install(TARGETS unit_tests RUNTIME DESTINATION bin) -- cgit v1.2.3