aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-04 22:40:12 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-04 22:40:12 +0300
commitbc7a07f84c7e2a521d7acc54bc422eed92d118f9 (patch)
tree1fa5c39d15702de9ad85502f94a371d9772443f0 /test/unit_tests/CMakeLists.txt
parentunit_tests: reorder code a little (diff)
downloadmath-server-bc7a07f84c7e2a521d7acc54bc422eed92d118f9.tar.gz
math-server-bc7a07f84c7e2a521d7acc54bc422eed92d118f9.zip
can't believe Boost::disable_autolinking isn't everywhere
Diffstat (limited to '')
-rw-r--r--test/unit_tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)