mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-26 23:04:42 +00:00
Fix build with monero v0.10.3
Credits to janb.
This commit is contained in:
parent
0805a68c41
commit
a10c07e471
@ -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
|
||||
|
@ -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…
x
Reference in New Issue
Block a user