Make building DHT_bootstrap in cmake optional.

It's enabled by default.
This commit is contained in:
iphydf 2017-01-16 22:43:08 +00:00
parent 68f80d260b
commit 5ad3c98905
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -440,10 +440,13 @@ endif()
#
################################################################################
add_c_executable(DHT_bootstrap
other/DHT_bootstrap.c
other/bootstrap_node_packets.c)
target_link_modules(DHT_bootstrap toxnetcrypto)
option(DHT_BOOTSTRAP "Enable building of DHT_bootstrap" ON)
if(DHT_BOOTSTRAP)
add_c_executable(DHT_bootstrap
other/DHT_bootstrap.c
other/bootstrap_node_packets.c)
target_link_modules(DHT_bootstrap toxnetcrypto)
endif()
option(BOOTSTRAP_DAEMON "Enable building of tox-bootstrapd" ON)
if(BOOTSTRAP_DAEMON)