diff options
-rw-r--r-- | server/lexer/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/unit_tests/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lexer/CMakeLists.txt b/server/lexer/CMakeLists.txt index b5b8b63..9c696d3 100644 --- a/server/lexer/CMakeLists.txt +++ b/server/lexer/CMakeLists.txt @@ -2,4 +2,4 @@ find_package(Boost REQUIRED COMPONENTS regex) add_library(lexer details/parse.cpp lexer.cpp token.cpp token_type.cpp) target_link_libraries(lexer PUBLIC common) -target_link_libraries(lexer PRIVATE Boost::regex) +target_link_libraries(lexer PRIVATE Boost::disable_autolinking Boost::regex) diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index 39cd4ee..314fb58 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -2,7 +2,7 @@ find_package(Boost REQUIRED COMPONENTS unit_test_framework) add_executable(unit_tests main.cpp lexer.cpp parser.cpp) target_link_libraries(unit_tests PRIVATE lexer parser) -target_link_libraries(unit_tests PRIVATE Boost::unit_test_framework) +target_link_libraries(unit_tests PRIVATE Boost::disable_autolinking Boost::unit_test_framework) target_include_directories(unit_tests PRIVATE ../..) set_target_properties(unit_tests PROPERTIES OUTPUT_NAME math-server-unit-tests) |