Merge pull request #238 from fuwa0529/dev-v0.8

fix unbound on static build
This commit is contained in:
jw 2020-04-12 10:53:27 -07:00 committed by GitHub
commit ca0abf8615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -80,7 +80,6 @@ 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)