unit_test_framework is an alias of test, and Boost::test is only
necessary if seastar's tests are built. but SEASTAR_ENABLE_TESTS is
reset by us, so drop tests/unit_test_framework here.
Signed-off-by: Kefu Chai <kchai@redhat.com>
# Boost::thread depends on Boost::atomic, so list it explicitly.
set(BOOST_COMPONENTS
- atomic chrono filesystem thread system regex random program_options date_time
- iostreams unit_test_framework)
+ atomic chrono thread system regex random program_options date_time
+ iostreams)
set(BOOST_HEADER_COMPONENTS container)
if(WITH_MGR)
if(WITH_BOOST_CONTEXT)
list(APPEND BOOST_COMPONENTS context coroutine)
endif()
-list(APPEND BOOST_COMPONENTS test timer)
+if(WITH_SEASTAR)
+ list(APPEND BOOST_COMPONENTS filesystem timer)
+endif()
set(Boost_USE_MULTITHREADED ON)
# require minimally the bundled version