diff --git a/cnutil/CMakeLists.txt b/cnutil/CMakeLists.txt index 2f0ee03..f08285b 100644 --- a/cnutil/CMakeLists.txt +++ b/cnutil/CMakeLists.txt @@ -8,9 +8,11 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -D_GNU_SOURCE") include_directories(${Boost_INCLUDE_DIRS}) include_directories("${MONERO_DIR}/contrib/epee/include") include_directories("${MONERO_DIR}/src") +include_directories("${MONERO_DIR}/external/easylogging++") link_directories( ${MONERO_DIR}/src/cryptonote_core + ${MONERO_DIR}/src/cryptonote_basic ${MONERO_DIR}/src/crypto ${MONERO_DIR}/src/common ${MONERO_DIR}/src/ringct @@ -21,6 +23,7 @@ add_library(${CXXLIB} SHARED src/cnutil.cpp) target_link_libraries(${CXXLIB} cryptonote_core + cryptonote_basic crypto common ringct diff --git a/cnutil/src/cnutil.cpp b/cnutil/src/cnutil.cpp index 22796b2..462d2db 100644 --- a/cnutil/src/cnutil.cpp +++ b/cnutil/src/cnutil.cpp @@ -1,6 +1,6 @@ #include #include -#include "cryptonote_core/cryptonote_format_utils.h" +#include "cryptonote_basic/cryptonote_format_utils.h" #include "common/base58.h" using namespace cryptonote;