mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
15 lines
540 B
CMake
15 lines
540 B
CMake
|
|
add_executable (dhtnode dhtnode.cpp tools_common.h)
|
|
add_executable (dhtscanner dhtscanner.cpp tools_common.h)
|
|
add_executable (dhtchat dhtchat.cpp tools_common.h)
|
|
|
|
target_link_libraries (dhtnode LINK_PUBLIC opendht gnutls readline)
|
|
target_link_libraries (dhtscanner LINK_PUBLIC opendht gnutls readline)
|
|
target_link_libraries (dhtchat LINK_PUBLIC opendht gnutls readline)
|
|
|
|
if (NOT DEFINED CMAKE_INSTALL_BINDIR)
|
|
set(CMAKE_INSTALL_BINDIR bin)
|
|
endif ()
|
|
|
|
install (TARGETS dhtnode dhtscanner dhtchat RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|