diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5c5c5a7..842f0f9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,6 +2,10 @@ # Distributed under the Boost Software License, Version 1.0. # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt -include(BoostTestJamfile) +include(BoostTestJamfile OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST) + +if(HAVE_BOOST_TEST) boost_test_jamfile(FILE Jamfile.v2 LIBRARIES Boost::assert Boost::core) + +endif()