fix unbound on static build
This commit is contained in:
parent
f516f8ce23
commit
146f5ea3f4
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue