|
|
@ -30,7 +30,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
set(LIBS common;blocks;cryptonote_basic;cryptonote_core;
|
|
|
|
set(LIBS common;blocks;cryptonote_basic;cryptonote_core;
|
|
|
|
cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;
|
|
|
|
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}")
|
|
|
|
set(Xmr_INCLUDE_DIRS "${CPP_MONERO_DIR}")
|
|
|
|
|
|
|
|
|
|
|
@ -44,7 +44,7 @@ foreach (l ${LIBS})
|
|
|
|
find_library(Xmr_${L}_LIBRARY
|
|
|
|
find_library(Xmr_${L}_LIBRARY
|
|
|
|
NAMES ${l}
|
|
|
|
NAMES ${l}
|
|
|
|
PATHS ${CMAKE_LIBRARY_PATH}
|
|
|
|
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
|
|
|
|
NO_DEFAULT_PATH
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -57,11 +57,11 @@ foreach (l ${LIBS})
|
|
|
|
|
|
|
|
|
|
|
|
endforeach()
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
|
|
|
|
if (EXISTS ${MONERO_BUILD_DIR}/external/easylogging++/libeasylogging.a)
|
|
|
|
#if (EXISTS ${MONERO_BUILD_DIR}/external/easylogging++/libeasylogging.a)
|
|
|
|
add_library(easylogging STATIC IMPORTED)
|
|
|
|
# add_library(easylogging STATIC IMPORTED)
|
|
|
|
set_property(TARGET easylogging
|
|
|
|
# set_property(TARGET easylogging
|
|
|
|
PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/external/easylogging++/libeasylogging.a)
|
|
|
|
# PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/external/easylogging++/libeasylogging.a)
|
|
|
|
endif()
|
|
|
|
#endif()
|
|
|
|
|
|
|
|
|
|
|
|
message(STATUS ${MONERO_SOURCE_DIR}/build)
|
|
|
|
message(STATUS ${MONERO_SOURCE_DIR}/build)
|
|
|
|
|
|
|
|
|
|
|
|