Remove ToxDNS-related code.

ToxDNS is deprecated.
This commit is contained in:
Håvard Pettersson 2016-05-11 08:24:54 +02:00
parent f6ac605f92
commit 01ff90ad65
4 changed files with 4 additions and 190 deletions

View file

@ -10,9 +10,6 @@ find_library(Tox_AV_LIBRARY toxav)
find_path(Tox_ENCRYPTSAVE_INCLUDE_DIR tox/toxencryptsave.h)
find_library(Tox_ENCRYPTSAVE_LIBRARY toxencryptsave)
find_path(Tox_DNS_INCLUDE_DIR tox/toxdns.h)
find_library(Tox_DNS_LIBRARY toxdns)
if(Tox_CORE_INCLUDE_DIR AND Tox_CORE_LIBRARY)
set(Tox_CORE_FOUND TRUE)
list(APPEND Tox_INCLUDE_DIRS ${Tox_CORE_INCLUDE_DIR})
@ -31,11 +28,8 @@ if(Tox_ENCRYPTSAVE_INCLUDE_DIR AND Tox_ENCRYPTSAVE_LIBRARY)
list(APPEND Tox_LIBRARIES ${Tox_ENCRYPTSAVE_LIBRARY})
endif()
if(Tox_DNS_INCLUDE_DIR AND Tox_DNS_LIBRARY)
set(Tox_DNS_FOUND TRUE)
list(APPEND Tox_INCLUDE_DIRS ${Tox_DNS_INCLUDE_DIR})
list(APPEND Tox_LIBRARIES ${Tox_DNS_LIBRARY})
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Tox FOUND_VAR Tox_FOUND REQUIRED_VARS Tox_INCLUDE_DIRS Tox_LIBRARIES HANDLE_COMPONENTS)
find_package_handle_standard_args(Tox
FOUND_VAR Tox_FOUND
REQUIRED_VARS Tox_INCLUDE_DIRS Tox_LIBRARIES
HANDLE_COMPONENTS)