Skip to content

Commit

Permalink
cmake: add WITH_TESTS guard around ceph-monstore-update-crush.sh
Browse files Browse the repository at this point in the history
ceph-monstore-tool has been moved out of the ceph-test package,
but ceph-monstore-update-crush.sh is still there

Signed-off-by: Nathan Cutler <ncutler@suse.com>
  • Loading branch information
smithfarm committed Jan 23, 2018
1 parent 9d42bd4 commit 2c81055
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/CMakeLists.txt
Expand Up @@ -32,9 +32,11 @@ add_executable(ceph-monstore-tool
../mgr/mgr_commands.cc)
target_link_libraries(ceph-monstore-tool os global Boost::program_options)
install(TARGETS ceph-monstore-tool DESTINATION bin)
if(WITH_TESTS)
install(PROGRAMS
ceph-monstore-update-crush.sh
DESTINATION ${CMAKE_INSTALL_LIBDIR}/ceph)
endif(WITH_TESTS)

add_executable(ceph-objectstore-tool
ceph_objectstore_tool.cc
Expand Down

0 comments on commit 2c81055

Please sign in to comment.