]> 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 39444/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 3 Feb 2021 20:17:19 +0000 (15:17 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Feb 2021 16:10:29 +0000 (11:10 -0500)
commit1be8fabf55fb6ab24b1be27a0e500d0b73b7f3f4
treeec7edb6ef91b6a434b386b53cbacf066bd0abb9f
parent021c1dd2dd1160ba097a9cbb4de0b4306ebb9e6f
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>
(cherry picked from commit 7d3b85294195e1cdac5eb4cbf98b13392641d73a)
src/rgw/CMakeLists.txt