diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 6727fffd8cc23825679a20918a44a84f537875ff..2ce4bdcc6c8c43802ee4875cb7c2524bb5fc1e0f 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