From f25f5df1d7b2e2a74179bc667382a4526b3465e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kenneth=20Yrke=20J=C3=B8rgensen?= Date: Wed, 12 Feb 2020 09:17:51 +0100 Subject: [PATCH] Updated to use ${Boost_LIBRARIES} Change boost_unit_test_framework to ${Boost_LIBRARIES} in order to make it work when using custom boost location via BOOST_ROOT --- test/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index bf68d05..8f7988f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -13,7 +13,7 @@ add_executable (Map map.cpp) add_executable (StableSet stable_set.cpp) -target_link_libraries(Set boost_unit_test_framework ptrie) -target_link_libraries(Delete boost_unit_test_framework ptrie) -target_link_libraries(StableSet boost_unit_test_framework ptrie) -target_link_libraries(Map boost_unit_test_framework ptrie) +target_link_libraries(Set ${Boost_LIBRARIES} ptrie) +target_link_libraries(Delete ${Boost_LIBRARIES} ptrie) +target_link_libraries(StableSet ${Boost_LIBRARIES} ptrie) +target_link_libraries(Map ${Boost_LIBRARIES} ptrie)