From a95eacbe48bea504a081d3a98d0bfa103423f8ab Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 20 Mar 2018 15:59:59 +0100 Subject: [PATCH] cmake: add chrono to BOOST_COMPONENTS According to https://github.com/ceph/ceph/commit/9535165149d16a2a944a81f4888d3ab0a7358027 Boost::chrono is a dependency of Boost::context and Boost::thread, but Boost::chrono does not get built unless it is included here. Fixes: http://tracker.ceph.com/issues/23424 Signed-off-by: Nathan Cutler --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0eb77b741497..ed6975e1fd01f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -582,7 +582,7 @@ option(WITH_SYSTEM_BOOST "require and build with system Boost" OFF) # Boost::thread depends on Boost::atomic, so list it explicitly. set(BOOST_COMPONENTS - atomic thread system regex random program_options date_time iostreams) + atomic chrono thread system regex random program_options date_time iostreams) set(BOOST_HEADER_COMPONENTS container) if(WITH_MGR) -- 2.39.5