Revert "remove unbound"

This reverts commit d9e982cba569c72a17801857addd4fb9ad929449.
This commit is contained in:
fuwa 2020-05-02 13:27:49 +08:00
parent 03743db2ed
commit 8f17e8c0af
12 changed files with 26 additions and 8 deletions

View file

@ -71,8 +71,7 @@ else()
set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE)
endif()
set(UNBOUND_INCLUDE_DIR unbound_dummy_include_dir)
set(UNBOUND_LIBRARIES unbound_dummy_libraries)
find_package(Unbound)
if(NOT UNBOUND_INCLUDE_DIR OR STATIC)
# NOTE: If STATIC is true, CMAKE_FIND_LIBRARY_SUFFIXES has been reordered.