]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: no libradosstriper headers if WITH_LIBRADOSSTRIPER=OFF 24029/head
authorNathan Cutler <ncutler@suse.com>
Tue, 11 Sep 2018 11:56:25 +0000 (13:56 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Sep 2018 07:51:36 +0000 (09:51 +0200)
commitaf89b667157071eab3a1d478cf7c9e3ec8160e89
treed0af25c3b3f5199a3426d4bfc6212f459ca99386
parenta0c6b833348b9495ffb5d5141a53d87ba84df7a6
cmake: no libradosstriper headers if WITH_LIBRADOSSTRIPER=OFF

This commit conditionalizes inclusion of the libradosstriper header files and
moves the "option(WITH_LIBRADOSSTRIPER..)" directive to before
"add_subdirectory(include)", as we check for this variable in src/include.

Fixes: http://tracker.ceph.com/issues/35922
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/CMakeLists.txt
src/include/CMakeLists.txt