fix unbound on static build

This commit is contained in:
fuwa 2020-04-12 23:37:57 +08:00
parent f516f8ce23
commit 146f5ea3f4

View file

@ -80,7 +80,6 @@ if(NOT UNBOUND_INCLUDE_DIR OR STATIC)
# be set in this case.
# 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.
add_subdirectory(unbound)
set(UNBOUND_STATIC true PARENT_SCOPE)
set(UNBOUND_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/unbound/libunbound" PARENT_SCOPE)