dhtcluster: install with tools

This commit is contained in:
Adrien Beraud committed 2017-06-01 17:20:29 +02:00
1 parent 339ea70230
commit e1ac26773b
1 file changed
+3
+3
View File
@@ -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()