mirror of https://github.com/getdnsapi/getdns.git
Findlibidn module is not available
This commit is contained in:
parent
cf2b805ef7
commit
f92f97bf1e
|
@ -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 ()
|
||||
|
|
|
@ -91,7 +91,7 @@ else()
|
|||
endif()
|
||||
|
||||
list(APPEND LIBUNBOUND_LIBRARIES "${LIBUNBOUND_LIBRARY}")
|
||||
endif
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(Libunbound
|
||||
|
|
Loading…
Reference in New Issue