File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,15 @@ include(BoostTestJamfile OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST)
88if (HAVE_BOOST_TEST)
99
1010 find_package (fmt)
11- if (fmt_FOUND)
11+ find_package (bson 2.0.2 CONFIG)
12+ if (fmt_FOUND AND bson_FOUND)
13+ message (STATUS "Boost.Decimal: Test with fmtlib and bson" )
14+ boost_test_jamfile(FILE Jamfile LINK_LIBRARIES Boost::decimal Boost::core Boost::math Boost::multiprecision Boost::charconv Boost::random fmt::fmt bson::bson COMPILE_DEFINITIONS BOOST_DECIMAL_TEST_FMT)
15+ elseif (fmt_FOUND)
1216 message (STATUS "Boost.Decimal: Test with fmtlib" )
1317 boost_test_jamfile(FILE Jamfile LINK_LIBRARIES Boost::decimal Boost::core Boost::math Boost::multiprecision Boost::charconv Boost::random fmt::fmt COMPILE_DEFINITIONS BOOST_DECIMAL_TEST_FMT)
1418 else ()
15- message (STATUS "Boost.Decimal: Test without fmtlib" )
19+ message (STATUS "Boost.Decimal: Test without fmtlib and bson " )
1620 boost_test_jamfile(FILE Jamfile LINK_LIBRARIES Boost::decimal Boost::core Boost::math Boost::multiprecision Boost::charconv Boost::random)
1721 endif ()
1822
You can’t perform that action at this time.
0 commit comments