From 146f5ea3f456b327e39fccf9ad926ba7563623ee Mon Sep 17 00:00:00 2001 From: fuwa Date: Sun, 12 Apr 2020 23:37:57 +0800 Subject: [PATCH] fix unbound on static build --- external/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 32d8db0bb..e1374d9e1 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -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)