aboutsummaryrefslogtreecommitdiff
path: root/external/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-24 15:29:56 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-24 15:29:56 -0400
commitd43a20f8f41b0d10b09a7cd6e1940d4eca41a125 (patch)
tree61ad40c28e34b2e6d377decedd9f8e1b3323548e /external/CMakeLists.txt
parentcmake: support 2.8.7 (diff)
downloadmonero-d43a20f8f41b0d10b09a7cd6e1940d4eca41a125.tar.xz
unbound: plumb the libdir up
This is necessary for static builds where the linking is passed around to dependent targets, but the library is lost.
Diffstat (limited to 'external/CMakeLists.txt')
-rw-r--r--external/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index 97bdd9af5..a7bcfebe0 100644
--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -84,7 +84,7 @@ if(NOT UNBOUND_INCLUDE_DIR OR STATIC)
set(UNBOUND_STATIC true PARENT_SCOPE)
set(UNBOUND_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/unbound/libunbound" PARENT_SCOPE)
set(UNBOUND_LIBRARY "unbound" PARENT_SCOPE)
- set(UNBOUND_LIBRARY_DIRS "${LIBEVENT2_LIBRARY_DIRS}" PARENT_SCOPE)
+ set(UNBOUND_LIBRARY_DIRS "${LIBEVENT2_LIBDIR}" PARENT_SCOPE)
else()
message(STATUS "Found libunbound include (unbound.h) in ${UNBOUND_INCLUDE_DIR}")
if(UNBOUND_LIBRARIES)