mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Make building DHT_bootstrap
in cmake optional.
It's enabled by default.
This commit is contained in:
parent
68f80d260b
commit
5ad3c98905
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user