]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: use string(APPEND...) for appending cflags
authorKefu Chai <kchai@redhat.com>
Thu, 18 Jun 2020 08:33:54 +0000 (16:33 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 18 Jun 2020 08:40:14 +0000 (16:40 +0800)
commit9a458699203d789a22c7eaac4d0466ca11c67750
treeac290a5430c023fa4f58eac47100ef5591eb14ee
parente49a196f549ef55f85e171a8cae6be3c5511b587
cmake: use string(APPEND...) for appending cflags

* use string(APPEND...) for less repeatings
* `-rdynamic` is a linker option, so it should be added to
  `CMAKE_EXE_LINKER_FLAGS` for adding symbols to dynamic
  symbol tables so they can be consumed by plugins.

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