|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
|
|
|
|
|
set(LIBS common;blocks;cryptonote_basic;cryptonote_core;
|
|
|
|
|
cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;
|
|
|
|
|
blockchain_db;ringct;wallet;cncrypto)
|
|
|
|
|
blockchain_db;ringct;wallet;cncrypto;easylogging;version;checkpoints)
|
|
|
|
|
|
|
|
|
|
set(Xmr_INCLUDE_DIRS "${CPP_MONERO_DIR}")
|
|
|
|
|
|
|
|
|
@ -44,7 +44,7 @@ foreach (l ${LIBS})
|
|
|
|
|
find_library(Xmr_${L}_LIBRARY
|
|
|
|
|
NAMES ${l}
|
|
|
|
|
PATHS ${CMAKE_LIBRARY_PATH}
|
|
|
|
|
PATH_SUFFIXES "/src/${l}" "/external/db_drivers/lib${l}" "/lib" "/src/crypto" "/contrib/epee/src"
|
|
|
|
|
PATH_SUFFIXES "/src/${l}" "/src/" "/external/db_drivers/lib${l}" "/lib" "/src/crypto" "/contrib/epee/src" "/external/easylogging++/"
|
|
|
|
|
NO_DEFAULT_PATH
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -57,11 +57,11 @@ foreach (l ${LIBS})
|
|
|
|
|
|
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
|
|
if (EXISTS ${MONERO_BUILD_DIR}/external/easylogging++/libeasylogging.a)
|
|
|
|
|
add_library(easylogging STATIC IMPORTED)
|
|
|
|
|
set_property(TARGET easylogging
|
|
|
|
|
PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/external/easylogging++/libeasylogging.a)
|
|
|
|
|
endif()
|
|
|
|
|
#if (EXISTS ${MONERO_BUILD_DIR}/external/easylogging++/libeasylogging.a)
|
|
|
|
|
# add_library(easylogging STATIC IMPORTED)
|
|
|
|
|
# set_property(TARGET easylogging
|
|
|
|
|
# PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/external/easylogging++/libeasylogging.a)
|
|
|
|
|
#endif()
|
|
|
|
|
|
|
|
|
|
message(STATUS ${MONERO_SOURCE_DIR}/build)
|
|
|
|
|
|
|
|
|
|