linker dependencies reorganized to match current monero dev status

This commit is contained in:
moneroexamples 2016-11-17 09:07:12 +08:00
parent 08fd01a7b3
commit fe5a7443b4

View file

@ -61,6 +61,10 @@ add_library(cryptonote_core STATIC IMPORTED)
set_property(TARGET cryptonote_core set_property(TARGET cryptonote_core
PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libcryptonote_core.a) PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libcryptonote_core.a)
add_library(cryptonote_protocol STATIC IMPORTED)
set_property(TARGET cryptonote_protocol
PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libcryptonote_protocol.a)
add_library(blockchain_db STATIC IMPORTED) add_library(blockchain_db STATIC IMPORTED)
set_property(TARGET blockchain_db set_property(TARGET blockchain_db
PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libblockchain_db.a) PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libblockchain_db.a)
@ -124,12 +128,13 @@ target_link_libraries(${PROJECT_NAME}
mstch mstch
wallet wallet
cryptonote_core cryptonote_core
cryptonote_protocol
blockchain_db blockchain_db
crypto crypto
blocks blocks
common
lmdb lmdb
ringct ringct
common
${Boost_LIBRARIES} ${Boost_LIBRARIES}
pthread pthread
unbound unbound