summaryrefslogtreecommitdiffstats
path: root/src/test/CMakeLists.txt
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2018-04-26 10:44:07 +0200
committerKefu Chai <kchai@redhat.com>2018-04-26 10:44:09 +0200
commit4aea3bed7f7dc587b19700d516ece68b516f07f3 (patch)
treeedb09bcbd28b28b26a454fae4b5550d20a14b090 /src/test/CMakeLists.txt
parentMerge pull request #21612 from Songweibin/wip-pglog-cleanup (diff)
downloadceph-4aea3bed7f7dc587b19700d516ece68b516f07f3.tar.xz
ceph-4aea3bed7f7dc587b19700d516ece68b516f07f3.zip
cmake: enable CMP0046
so cmake will error on "non-existent dependency in add_dependencies", we add dependency on CONFIGURE_FILE() output, which is wrong, as its output is not a target, and is generated when cmake runs. so remove them from dependencies. regarding to ceph_ver.h, its path is also wrong. it is created under ${CMAKE_BINARY_DIR}/src/include. so this is another reason to remove it. Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/test/CMakeLists.txt')
-rw-r--r--src/test/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
index cbbb158335d..e55f0dd4074 100644
--- a/src/test/CMakeLists.txt
+++ b/src/test/CMakeLists.txt
@@ -525,7 +525,6 @@ install(TARGETS
add_dependencies(tests
ceph-mon
ceph-mgr
- ceph
ceph-authtool
get_command_descriptions
crushtool