From b8b54b36e214ea482b53f209e885c1bacc915f30 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Tue, 17 Jan 2017 05:40:07 +0800 Subject: [PATCH] CMakeLists.txt updated --- CMakeLists.txt | 6 ++++++ src/monero_headers.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b0034a..5120eff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,6 +42,7 @@ include_directories( ${MONERO_HEADERS_DIR}/src ${MONERO_HEADERS_DIR}/external ${MONERO_HEADERS_DIR}/contrib/epee/include + ${MONERO_HEADERS_DIR}/external/easylogging++ ${MONERO_HEADERS_DIR}/external/db_drivers/liblmdb) if(APPLE) @@ -74,6 +75,10 @@ add_library(mnemonics STATIC IMPORTED) set_property(TARGET mnemonics PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libmnemonics.a) +add_library(epee STATIC IMPORTED) +set_property(TARGET epee + PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libepee.a) + add_library(blockchain_db STATIC IMPORTED) set_property(TARGET blockchain_db PROPERTY IMPORTED_LOCATION ${MONERO_LIBS_DIR}/libblockchain_db.a) @@ -200,6 +205,7 @@ target_link_libraries(${PROJECT_NAME} ringct common mnemonics + epee ${Boost_LIBRARIES} pthread unbound diff --git a/src/monero_headers.h b/src/monero_headers.h index 0cc2a7c..39a72f8 100644 --- a/src/monero_headers.h +++ b/src/monero_headers.h @@ -33,6 +33,8 @@ #include "ringct/rctOps.h" #include "ringct/rctSigs.h" +#include "easylogging++.h" + #include "common/base58.h" #include "string_coding.h"