From: Nathan Cutler Date: Tue, 20 Mar 2018 14:59:59 +0000 (+0100) Subject: cmake: add chrono to BOOST_COMPONENTS X-Git-Tag: v13.1.0~525^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20977%2Fhead;p=ceph.git 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 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a0eb77b74149..ed6975e1fd01 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)