aboutsummaryrefslogtreecommitdiff
path: root/external/unbound
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/unbound
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/unbound')
-rw-r--r--external/unbound/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/external/unbound/CMakeLists.txt b/external/unbound/CMakeLists.txt
index 08f47cc17..f17897c6b 100644
--- a/external/unbound/CMakeLists.txt
+++ b/external/unbound/CMakeLists.txt
@@ -178,3 +178,8 @@ if (WIN32)
iphlpapi
ws2_32)
endif ()
+
+# XXX: Hack for static builds.
+set(LIBEVENT2_LIBDIR
+ "${LIBEVENT2_LIBDIR}"
+ PARENT_SCOPE)