Fetch tools/cmake instead of having a duplicate

This commit is contained in:
Peter Dimov
2019-12-22 03:08:58 +02:00
parent 2deeac36b4
commit 3afdb0e876
6 changed files with 33 additions and 188 deletions
+5 -1
View File
@@ -2,7 +2,11 @@
# 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 LIBRARIES Boost::mp11 Boost::core)
boost_test(SOURCES check_cmake_version.cpp ARGUMENTS ${PROJECT_VERSION} LIBRARIES Boost::core Boost::config)
endif()