From 58c792fb048cc14b666d7a31239990b36b728e1e Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sun, 5 Sep 2021 17:30:21 +0200 Subject: [PATCH] rapidjson submodule --- .gitmodules | 3 +++ CMakeLists.txt | 1 + README.md | 2 +- external/src/rapidjson | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) create mode 160000 external/src/rapidjson diff --git a/.gitmodules b/.gitmodules index e7948d3..6fe1ce5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "external/src/RandomX"] path = external/src/RandomX url = https://github.com/SChernykh/RandomX +[submodule "external/src/rapidjson"] + path = external/src/rapidjson + url = https://github.com/SChernykh/rapidjson diff --git a/CMakeLists.txt b/CMakeLists.txt index e20a493..05cffb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,6 +77,7 @@ include_directories(external/src/cppzmq) include_directories(external/src/libzmq/include) include_directories(external/src/llhttp) include_directories(external/src/RandomX/src) +include_directories(external/src/rapidjson/include) if (WIN32) set(LIBS ${LIBS} ws2_32 iphlpapi userenv psapi) diff --git a/README.md b/README.md index 3816d1d..d41c2d8 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ First you need to find a pool share. This share will stay in PPLNS window for 21 p2pool binary: ``` sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev -git clone https://github.com/SChernykh/p2pool +git clone --recursive https://github.com/SChernykh/p2pool cd p2pool mkdir build && cd build cmake .. diff --git a/external/src/rapidjson b/external/src/rapidjson new file mode 160000 index 0000000..35a823f --- /dev/null +++ b/external/src/rapidjson @@ -0,0 +1 @@ +Subproject commit 35a823f530d56fbb3d75addac72904b67e440409