Skip to content

Commit

Permalink
Updated to use ${Boost_LIBRARIES}
Browse files Browse the repository at this point in the history
Change boost_unit_test_framework to ${Boost_LIBRARIES} in order to make it work when using custom boost location via BOOST_ROOT
  • Loading branch information
yrke authored Feb 12, 2020
1 parent efa119f commit f25f5df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f25f5df

Please sign in to comment.