]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: compile crimson-auth with crimson::cflags
authorKefu Chai <kchai@redhat.com>
Fri, 14 Feb 2020 05:58:32 +0000 (13:58 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 14 Feb 2020 06:21:32 +0000 (14:21 +0800)
commit812f10ffad16a8bad012c0648c9cfa847e9fbcf5
treee1d17be7c85567de14bce770b198b6154ceca8c8
parentcfa1d72c618a88a6123849aa40eef709dcb95149
cmake: compile crimson-auth with crimson::cflags

* move auth related stuff into crimson/CMakeLists.txt, so we can
  link them against crimson::cflags, which populates the necessary
  definitions and other cxx flags when building these source files.
* expose crimson::cflags as a public library of crimson, as
  crimson-osd links against crimson. and the cflags should be populated
  to crimson-osd, otherwise they are compiled with different compiler
  options.

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