From 64b2e12971431dc04d37f1d4883f32b33c359312 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 29 Dec 2019 18:44:21 +0200 Subject: [PATCH] Use LINK_LIBRARIES instead of LIBRARIES --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 39ceee4..cab19b6 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -6,7 +6,7 @@ include(BoostTestJamfile OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST) if(HAVE_BOOST_TEST) -boost_test_jamfile(FILE Jamfile LIBRARIES Boost::mp11 Boost::core) -boost_test(SOURCES check_cmake_version.cpp ARGUMENTS ${PROJECT_VERSION} LIBRARIES Boost::core Boost::config) +boost_test_jamfile(FILE Jamfile LINK_LIBRARIES Boost::mp11 Boost::core) +boost_test(SOURCES check_cmake_version.cpp ARGUMENTS ${PROJECT_VERSION} LINK_LIBRARIES Boost::core Boost::config) endif()