mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
reference the correct unbound static lib
This commit is contained in:
parent
23cc93c935
commit
6ef8ae8bd8
7
external/CMakeLists.txt
vendored
7
external/CMakeLists.txt
vendored
@ -105,7 +105,7 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC)
|
|||||||
LOG_TEST 1
|
LOG_TEST 1
|
||||||
LOG_INSTALL 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)
|
ELSEIF(APPLE)
|
||||||
execute_process(COMMAND brew --prefix OUTPUT_VARIABLE BREW_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND brew --prefix OUTPUT_VARIABLE BREW_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
EXTERNALPROJECT_ADD(
|
EXTERNALPROJECT_ADD(
|
||||||
@ -124,7 +124,7 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC)
|
|||||||
LOG_TEST 1
|
LOG_TEST 1
|
||||||
LOG_INSTALL 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()
|
ELSE()
|
||||||
EXTERNALPROJECT_ADD(
|
EXTERNALPROJECT_ADD(
|
||||||
libunbound
|
libunbound
|
||||||
@ -142,12 +142,11 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC)
|
|||||||
LOG_TEST 1
|
LOG_TEST 1
|
||||||
LOG_INSTALL 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()
|
ENDIF()
|
||||||
|
|
||||||
set(UNBOUND_STATIC true PARENT_SCOPE)
|
set(UNBOUND_STATIC true PARENT_SCOPE)
|
||||||
set(UNBOUND_INCLUDE "${CMAKE_CURRENT_BINARY_DIR}/unbound/src/libunbound-build" 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()
|
ELSE()
|
||||||
MESSAGE(STATUS "Found libunbound include (unbound.h) in ${UNBOUND_INCLUDE_DIR}")
|
MESSAGE(STATUS "Found libunbound include (unbound.h) in ${UNBOUND_INCLUDE_DIR}")
|
||||||
IF(UNBOUND_LIBRARIES)
|
IF(UNBOUND_LIBRARIES)
|
||||||
|
Loading…
Reference in New Issue
Block a user