]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: install debug tools into usr/bin
authorKefu Chai <kchai@redhat.com>
Thu, 26 May 2016 08:36:02 +0000 (16:36 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 May 2016 11:55:04 +0000 (19:55 +0800)
otherwise dh_install won't find them.

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

index a3b415913cb7a16249b7d54e0b0a0c2555da98df..22ce81e466eb097b035f2d09f431a100f259a2ef 100644 (file)
@@ -558,15 +558,15 @@ add_subdirectory(libradosstriper)
 
 add_executable(ceph_scratchtool tools/scratchtool.c)
 target_link_libraries(ceph_scratchtool librados global)
-install(TARGETS ceph_scratchtool DESTINATION bin/debug)
+install(TARGETS ceph_scratchtool DESTINATION bin)
 
 add_executable(ceph_scratchtoolpp tools/scratchtoolpp.cc)
 target_link_libraries(ceph_scratchtoolpp librados global)
-install(TARGETS ceph_scratchtoolpp DESTINATION bin/debug)
+install(TARGETS ceph_scratchtoolpp DESTINATION bin)
 
 add_executable(ceph_radosacl tools/radosacl.cc)
 target_link_libraries(ceph_radosacl librados global)
-install(TARGETS ceph_radosacl DESTINATION bin/debug)
+install(TARGETS ceph_radosacl DESTINATION bin)
 
 add_executable(ceph-osdomap-tool tools/ceph_osdomap_tool.cc)
 target_link_libraries(ceph-osdomap-tool os global ${Boost_PROGRAM_OPTIONS_LIBRARY})
@@ -977,7 +977,7 @@ add_subdirectory(compressor)
 
 add_executable(ceph-client-debug tools/ceph-client-debug.cc)
 target_link_libraries(ceph-client-debug cephfs librados global common)
-install(TARGETS ceph-client-debug DESTINATION bin/debug)
+install(TARGETS ceph-client-debug DESTINATION bin)
 
 add_executable(ceph-kvstore-tool tools/ceph_kvstore_tool.cc)
 target_link_libraries(ceph-kvstore-tool os global ${UNITTEST_CXX_FLAGS})