]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: expose crimson::cflags from libcrimson 23849/head
authorKefu Chai <kchai@redhat.com>
Tue, 9 Oct 2018 10:39:14 +0000 (18:39 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 9 Oct 2018 10:39:16 +0000 (18:39 +0800)
to populate the -DWITH_SEASTAR=1 compile flag to the target which links
against libcrimson, so the .h files included by compiled crimson .cc
source files won't involve non-seastar stuff.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/CMakeLists.txt

index 2cdc3f8e9b8390f5fbc40886749083f058073eee..7f331e11e4c457e073fc821927e3803c7a19efd7 100644 (file)
@@ -132,6 +132,5 @@ target_compile_options(crimson PUBLIC
   "-ftemplate-backtrace-limit=0")
 target_link_libraries(crimson
   PUBLIC
-    crimson-common Seastar::seastar
-  PRIVATE
+    crimson-common
     crimson::cflags)