mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
build on mac and windows
This commit is contained in:
parent
4b5c4da570
commit
4983786ed5
5 changed files with 39 additions and 22 deletions
|
@ -62,7 +62,7 @@ endif()
|
|||
|
||||
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)
|
||||
set_property(TARGET unbound PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/external/unbound/libunbound.a)
|
||||
endif()
|
||||
|
||||
# include boost headers
|
||||
|
@ -107,14 +107,20 @@ set(LIBRARIES
|
|||
common
|
||||
mnemonics
|
||||
epee
|
||||
easylogging
|
||||
${Boost_LIBRARIES}
|
||||
pthread
|
||||
unbound
|
||||
curl
|
||||
crypto
|
||||
atomic
|
||||
ssl)
|
||||
|
||||
if(APPLE)
|
||||
set(LIBRARIES ${LIBRARIES} "-framework IOKit")
|
||||
else()
|
||||
set(LIBRARIES ${LIBRARIES} atomic)
|
||||
endif()
|
||||
|
||||
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT WIN32)
|
||||
set(LIBRARIES ${LIBRARIES} unwind)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue