diff --git a/include/boost/test/prg_exec_monitor.hpp b/include/boost/test/prg_exec_monitor.hpp index f072e215db..8da2aa0624 100644 --- a/include/boost/test/prg_exec_monitor.hpp +++ b/include/boost/test/prg_exec_monitor.hpp @@ -30,6 +30,7 @@ // Automatically link to the correct build variant where possible. #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TEST_NO_LIB) && \ + !defined(BOOST_PRG_EXEC_MONITOR_NO_LIB) && \ !defined(BOOST_TEST_SOURCE) && !defined(BOOST_TEST_INCLUDED) # define BOOST_LIB_NAME boost_prg_exec_monitor diff --git a/include/boost/test/test_exec_monitor.hpp b/include/boost/test/test_exec_monitor.hpp index 0450809335..144a8e0db7 100644 --- a/include/boost/test/test_exec_monitor.hpp +++ b/include/boost/test/test_exec_monitor.hpp @@ -43,6 +43,7 @@ // Automatically link to the correct build variant where possible. #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TEST_NO_LIB) && \ + !defined(BOOST_TEST_EXEC_MONITOR_NO_LIB) && \ !defined(BOOST_TEST_SOURCE) && !defined(BOOST_TEST_INCLUDED) # define BOOST_LIB_NAME boost_test_exec_monitor diff --git a/include/boost/test/unit_test.hpp b/include/boost/test/unit_test.hpp index 879b09c0a8..5f529c7536 100644 --- a/include/boost/test/unit_test.hpp +++ b/include/boost/test/unit_test.hpp @@ -25,6 +25,7 @@ // ************************************************************************** // #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TEST_NO_LIB) && \ + !defined(BOOST_UNIT_TEST_FRAMEWORK_NO_LIB) && \ !defined(BOOST_TEST_SOURCE) && !defined(BOOST_TEST_INCLUDED) && \ defined(BOOST_TEST_MAIN) # define BOOST_LIB_NAME boost_unit_test_framework