From e1ac26773b51bb71a0051b432ff182e2ebd9c3df Mon Sep 17 00:00:00 2001 From: Adrien Beraud <adrien.beraud@savoirfairelinux.com> Date: Thu, 1 Jun 2017 17:20:29 +0200 Subject: [PATCH] dhtcluster: install with tools --- python/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 6727fffd..2ce4bdcc 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -9,3 +9,6 @@ add_custom_target(python ALL DEPENDS opendht opendht_cpp.pxd opendht.pyx) install(CODE "execute_process(COMMAND python3 setup.py install --root=\$ENV{DESTDIR}/ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})") +if (OPENDHT_TOOLS) + install(PROGRAMS tools/dhtcluster.py DESTINATION ${CMAKE_INSTALL_BINDIR} RENAME dhtcluster) +endif() \ No newline at end of file -- GitLab