]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: add chrono to BOOST_COMPONENTS 20977/head
authorNathan Cutler <ncutler@suse.com>
Tue, 20 Mar 2018 14:59:59 +0000 (15:59 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 20 Mar 2018 15:14:11 +0000 (16:14 +0100)
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 <ncutler@suse.com>
CMakeLists.txt

index a0eb77b7414978b2cd660a20f2e9b3a3648ab837..ed6975e1fd01f00d8d5c3df249ef066ad8098468 100644 (file)
@@ -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)