Revert "fix unbound on static build"

This reverts commit 86b6758dad0137fb997b320892ff7e59c575d26a.
This commit is contained in:
fuwa 2020-05-02 16:43:54 +08:00
parent 56c01e22bc
commit 03743db2ed
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ if(NOT UNBOUND_INCLUDE_DIR OR STATIC)
# be set in this case. # be set in this case.
# The unbound CMakeLists.txt can set it, since it's also needed for the # The unbound CMakeLists.txt can set it, since it's also needed for the
# static OpenSSL libraries set up there after with target_link_libraries. # static OpenSSL libraries set up there after with target_link_libraries.
add_subdirectory(unbound)
set(UNBOUND_STATIC true PARENT_SCOPE) set(UNBOUND_STATIC true PARENT_SCOPE)
set(UNBOUND_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/unbound/libunbound" PARENT_SCOPE) set(UNBOUND_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/unbound/libunbound" PARENT_SCOPE)