From f92f97bf1e10d11cfaa561a6d373a0fc3e49657c Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 18 Sep 2020 14:16:06 +0200 Subject: [PATCH] Findlibidn module is not available --- CMakeLists.txt | 9 --------- cmake/modules/FindLibunbound.cmake | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bac3a089..e9d991aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -684,9 +684,6 @@ if (NOT HAVE_SSL_DANE_ENABLE) target_include_directories(getdns_objects PRIVATE src/ssl_dane) set(USE_DANESSL 1) endif () -if (Libidn_FOUND) - target_include_directories(getdns_objects PRIVATE ${LIBIDN_INCLUDE_DIR}) -endif () if (Libidn2_FOUND) target_include_directories(getdns_objects PRIVATE ${LIBIDN2_INCLUDE_DIR}) endif () @@ -720,9 +717,6 @@ if (ENABLE_STATIC) if (Libunbound_FOUND) target_link_libraries(getdns PUBLIC Libunbound::Libunbound) endif () - if (Libidn_FOUND) - target_link_libraries(getdns PUBLIC Libidn::Libidn) - endif () if (Libidn2_FOUND) target_link_libraries(getdns PUBLIC Libidn2::Libidn2) endif () @@ -752,9 +746,6 @@ if (ENABLE_SHARED) if (Libunbound_FOUND) target_link_libraries(getdns_shared PUBLIC Libunbound::Libunbound) endif () - if (Libidn_FOUND) - target_link_libraries(getdns_shared PUBLIC Libidn::Libidn) - endif () if (Libidn2_FOUND) target_link_libraries(getdns_shared PUBLIC Libidn2::Libidn2) endif () diff --git a/cmake/modules/FindLibunbound.cmake b/cmake/modules/FindLibunbound.cmake index 86f01309..2b4c249e 100644 --- a/cmake/modules/FindLibunbound.cmake +++ b/cmake/modules/FindLibunbound.cmake @@ -91,7 +91,7 @@ else() endif() list(APPEND LIBUNBOUND_LIBRARIES "${LIBUNBOUND_LIBRARY}") -endif +endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Libunbound