Fix build with monero v0.10.3

Credits to janb.
This commit is contained in:
janb 2017-02-22 11:06:14 +01:00 committed by Sammy Libre
parent 0805a68c41
commit a10c07e471
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
#include <stdint.h>
#include <string>
#include "cryptonote_core/cryptonote_format_utils.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "common/base58.h"
using namespace cryptonote;