diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-10-06 17:28:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-10-06 18:08:33 +0200 |
commit | c70fa8689f61c22166668eace25cc6a3e3d9e048 (patch) | |
tree | 74e1d1714e1ef83e668845270eda018eb098b63c /external/CMakeLists.txt | |
parent | added libtool's install command (diff) | |
download | monero-c70fa8689f61c22166668eace25cc6a3e3d9e048.tar.xz |
reference the correct unbound static lib
Diffstat (limited to 'external/CMakeLists.txt')
-rwxr-xr-x | external/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index cbd70800a..58f81fd34 100755 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -105,7 +105,7 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC) LOG_TEST 1 LOG_INSTALL 1 ) - set(UNBOUND_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build/libunbound.dll.la" PARENT_SCOPE) + set(UNBOUND_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build/libunbound.dll.a" PARENT_SCOPE) ELSEIF(APPLE) execute_process(COMMAND brew --prefix OUTPUT_VARIABLE BREW_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE) EXTERNALPROJECT_ADD( @@ -124,7 +124,7 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC) LOG_TEST 1 LOG_INSTALL 1 ) - set(UNBOUND_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build/libunbound.la" PARENT_SCOPE) + set(UNBOUND_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build/libunbound.a" PARENT_SCOPE) ELSE() EXTERNALPROJECT_ADD( libunbound @@ -142,12 +142,11 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC) LOG_TEST 1 LOG_INSTALL 1 ) - set(UNBOUND_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build/libunbound.la" PARENT_SCOPE) + set(UNBOUND_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build/libunbound.a" PARENT_SCOPE) ENDIF() 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/libunbound.la" PARENT_SCOPE) ELSE() MESSAGE(STATUS "Found libunbound include (unbound.h) in ${UNBOUND_INCLUDE_DIR}") IF(UNBOUND_LIBRARIES) |