mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
readjust CMakeLists.txt for mac build
This commit is contained in:
parent
826a5f2b3e
commit
da11bea4aa
1 changed files with 6 additions and 25 deletions
|
@ -168,30 +168,7 @@ configure_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates ${CMAKE_CURRENT_BINARY
|
||||||
configure_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates/css ${CMAKE_CURRENT_BINARY_DIR}/templates/css)
|
configure_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates/css ${CMAKE_CURRENT_BINARY_DIR}/templates/css)
|
||||||
configure_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates/partials ${CMAKE_CURRENT_BINARY_DIR}/templates/partials)
|
configure_files(${CMAKE_CURRENT_SOURCE_DIR}/src/templates/partials ${CMAKE_CURRENT_BINARY_DIR}/templates/partials)
|
||||||
|
|
||||||
if (APPLE)
|
set(LIBRARIES
|
||||||
target_link_libraries(${PROJECT_NAME}
|
|
||||||
myxrm
|
|
||||||
myext
|
|
||||||
mstch
|
|
||||||
wallet
|
|
||||||
cryptonote_core
|
|
||||||
cryptonote_protocol
|
|
||||||
blockchain_db
|
|
||||||
cryptoxmr
|
|
||||||
blocks
|
|
||||||
lmdb
|
|
||||||
ringct
|
|
||||||
common
|
|
||||||
mnemonics
|
|
||||||
${Boost_LIBRARIES}
|
|
||||||
pthread
|
|
||||||
unbound
|
|
||||||
curl
|
|
||||||
dl
|
|
||||||
crypto
|
|
||||||
ssl)
|
|
||||||
else()
|
|
||||||
target_link_libraries(${PROJECT_NAME}
|
|
||||||
myxrm
|
myxrm
|
||||||
myext
|
myext
|
||||||
mstch
|
mstch
|
||||||
|
@ -209,9 +186,13 @@ target_link_libraries(${PROJECT_NAME}
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
pthread
|
pthread
|
||||||
unbound
|
unbound
|
||||||
unwind
|
|
||||||
curl
|
curl
|
||||||
dl
|
dl
|
||||||
crypto
|
crypto
|
||||||
ssl)
|
ssl)
|
||||||
|
|
||||||
|
if (!APPLE)
|
||||||
|
set(LIBRARIES ${LIBRARIES} unwind)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
target_link_libraries(${PROJECT_NAME} ${LIBRARIES})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue