fix unbound on static build

lite
fuwa 4 years ago
parent f516f8ce23
commit 146f5ea3f4

@ -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)

Loading…
Cancel
Save