From 18421d59708479e3d54eba71518f761ee470256d Mon Sep 17 00:00:00 2001 From: Transporter Date: Thu, 30 Apr 2020 20:56:55 +0200 Subject: Fix to prevent Boost from linking dynamic and static libraries simultaneously when autolink is enabled. --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3f8249b..0cce236 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -7,5 +7,5 @@ set(TEST_SRC_LIST include_directories("${PROJECT_SOURCE_DIR}/test") add_executable(${PROJECT_NAME}_test ${TEST_SRC_LIST}) -target_link_libraries(${PROJECT_NAME}_test TgBot) +target_link_libraries(${PROJECT_NAME}_test ${PROJECT_NAME}) add_test(${PROJECT_NAME}_test ${PROJECT_NAME}_test) -- cgit v1.2.3