Browse Source

Fix build with monero v0.10.3

Credits to janb.
pool
janb 8 years ago committed by Sammy Libre
parent
commit
a10c07e471
  1. 3
      cnutil/CMakeLists.txt
  2. 2
      cnutil/src/cnutil.cpp

3
cnutil/CMakeLists.txt

@ -8,9 +8,11 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -D_GNU_SOURCE") @@ -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) @@ -21,6 +23,7 @@ add_library(${CXXLIB} SHARED src/cnutil.cpp)
target_link_libraries(${CXXLIB}
cryptonote_core
cryptonote_basic
crypto
common
ringct

2
cnutil/src/cnutil.cpp

@ -1,6 +1,6 @@ @@ -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;

Loading…
Cancel
Save