mirror of
https://github.com/boostorg/assert.git
synced 2025-08-02 05:44:28 +02:00
Tolerate absence of BoostTestJamfile.cmake
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
# Distributed under the Boost Software License, Version 1.0.
|
# 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
|
# 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)
|
boost_test_jamfile(FILE Jamfile.v2 LIBRARIES Boost::assert Boost::core)
|
||||||
|
|
||||||
|
endif()
|
||||||
|
Reference in New Issue
Block a user