From: Kefu Chai Date: Tue, 9 Oct 2018 10:39:14 +0000 (+0800) Subject: cmake: expose crimson::cflags from libcrimson X-Git-Tag: v14.0.1~23^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=93178b310950e5dff680e702d1651f1c903e99b0;p=ceph.git cmake: expose crimson::cflags from libcrimson 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 --- diff --git a/src/crimson/CMakeLists.txt b/src/crimson/CMakeLists.txt index 2cdc3f8e9b8..7f331e11e4c 100644 --- a/src/crimson/CMakeLists.txt +++ b/src/crimson/CMakeLists.txt @@ -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)