]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: link denc-mod-rgw against Boost::filesystem 47803/head
authorKefu Chai <tchaikov@gmail.com>
Fri, 2 Sep 2022 12:37:26 +0000 (20:37 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 2 Sep 2022 12:41:53 +0000 (20:41 +0800)
commit9743baab22c7d94f936b20be48f186d81e9f3cf1
tree99587ff123d01906ecf7c371964551c0b4c9d13f
parent22b0d9e69b410098cb71adbc3bd646ba6f8cf37b
cmake: link denc-mod-rgw against Boost::filesystem

to address the runtime link failure.

this change is not cherry-picked from main branch. as, in main branch,
the Boost::filesystem linkage is pulled in by rgw_common, which was
changed to a static library in 43d10b9e44ca50700e9076a47f2c38b360d1d632.
but this change is not included in pacific. so rgw added the linkage
via rgw_libs CMake variable. unfortunately, the lexical scope of this
variable does not not include tools/ceph-dencoder/CMakeLists.txt, so
we have to add this linkage manually here.

Signed-off-by: Tim Serong <tserong@suse.com>
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/tools/ceph-dencoder/CMakeLists.txt