]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: use add_compile_options()
authorKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 23:08:06 +0000 (07:08 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 18 Jun 2020 08:40:14 +0000 (16:40 +0800)
commit91bccedc3225a32db8bb3ca714163f3575c7306c
treea24dd8dd20d918f17c3b319b470f6f4dc596bf8b
parent9a458699203d789a22c7eaac4d0466ca11c67750
cmake: use add_compile_options()

instead of appending compile flags to CMAKE_C_FLAGS, use
add_compile_options(), as COMPILE_OPTIONS is a list, it'd simpler to
append options to it and to access it in a structured way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
cmake/modules/Distutils.cmake
cmake/modules/SIMDExt.cmake
src/CMakeLists.txt
src/osd/CMakeLists.txt