Specify libunbound.a only for mac or win.

Linux has its own.
This commit is contained in:
moneroexamples 2017-02-03 01:06:45 +00:00
parent af9b290458
commit 51db26e717
1 changed files with 4 additions and 2 deletions

View File

@ -93,8 +93,10 @@ add_library(wallet STATIC IMPORTED)
set_property(TARGET wallet
PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libwallet.a)
add_library(unbound STATIC IMPORTED)
set_property(TARGET unbound PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libunbound.a)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR WIN32)
add_library(unbound STATIC IMPORTED)
set_property(TARGET unbound PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libunbound.a)
endif()
# include boost headers
include_directories(${Boost_INCLUDE_DIRS})