aboutsummaryrefslogtreecommitdiff
path: root/external/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-06 16:05:24 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-06 18:08:33 +0200
commitfd52015a2de015fc81ee9d750a5eaa54ca88ecbe (patch)
treea25416a4bd3c85250b0b62851dbe7992a0d9f6c4 /external/CMakeLists.txt
parentbuild libunbound correctly (diff)
downloadmonero-fd52015a2de015fc81ee9d750a5eaa54ca88ecbe.tar.xz
use the correct CMake variable for static builds
Diffstat (limited to '')
-rwxr-xr-xexternal/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index 0cafec53c..24aca9be0 100755
--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -144,7 +144,7 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC)
set(UNBOUND_STATIC true PARENT_SCOPE)
set(UNBOUND_INCLUDE "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build" PARENT_SCOPE)
- set(UNBOUND_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build" PARENT_SCOPE)
+ set(UNBOUND_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build/libunbound.la" PARENT_SCOPE)
ELSE()
MESSAGE(STATUS "Found libunbound include (unbound.h) in ${UNBOUND_INCLUDE_DIR}")
IF(UNBOUND_LIBRARIES)