Findlibidn module is not available

This commit is contained in:
Anonymous Maarten 2020-09-18 14:16:06 +02:00
parent cf2b805ef7
commit f92f97bf1e
2 changed files with 1 additions and 10 deletions

View File

@ -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 ()

View File

@ -91,7 +91,7 @@ else()
endif()
list(APPEND LIBUNBOUND_LIBRARIES "${LIBUNBOUND_LIBRARY}")
endif
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libunbound