]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: build rgw_kmip_client_impl as part of radosgw
authorKefu Chai <kchai@redhat.com>
Sat, 24 Jul 2021 07:39:08 +0000 (15:39 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 24 Jul 2021 11:28:06 +0000 (19:28 +0800)
commit2d955ebb5fe9f43b2988a7b1e6cb176f1c146d8a
tree43e7e3ea7bd1ebf15da879920b6ed837e2780dae
parent832c10dfe82ea79b0c327e39ad794f4fa869aa4e
cmake: build rgw_kmip_client_impl as part of radosgw

instead compiling rgw_kmip as an object library, just include
rgw_kmip_client_impl.cc in radosgw. simpler this way, as
rgw_kmip_client_impl.cc includes rgw/rgw_common.h. while rgw_common.cc
is indirectly included by ${rgw_libs} as a part of rgw_a, so
it would be simpler if we just compile rgw_kmip_client_impl.cc
as a part of radosgw, and let radosgw link against ${rgw_libs},
which are able to take care of the include directories of 3rd party
libraries, like spawn/spawn.hpp, which is pulled in by rgw/rgw_common.h.

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