]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake/rgw: forward spawn's compile options to rgw_common object library 39279/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 3 Feb 2021 20:17:19 +0000 (15:17 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 3 Feb 2021 20:28:07 +0000 (15:28 -0500)
commit7d3b85294195e1cdac5eb4cbf98b13392641d73a
tree5ba332a44cf4c69c897e7d87120917953275968a
parent94b49496588a352e40ad594419f18a74cabdcef9
cmake/rgw: forward spawn's compile options to rgw_common object library

since rgw_common is an OBJECT library, we can't use
target_link_libraries() for its dependency on spawn. we add its
include directories manually already with
$<TARGET_PROPERTY:spawn,INTERFACE_INCLUDE_DIRECTORIES>, but this didn't
pull in the compile definitions. this ultimately prevented the
WITH_BOOST_VALGRIND option from passing the BOOST_USE_VALGRIND
definition attached to boost::context

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/CMakeLists.txt