Skip to content

Commit 5c729a4

Browse files
Use fixed RapidJSON version (#1586)
Newest changes breaks our build Relates-To: MINOR Signed-off-by: Andrey Kashcheev <ext-andrey.kashcheev@here.com>
1 parent 0006cd2 commit 5c729a4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

external/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ set(OLP_SDK_CPP_LEVELDB_URL "https://github.com/google/leveldb.git")
4949
set(OLP_SDK_CPP_LEVELDB_TAG "1.21")
5050

5151
set(OLP_SDK_CPP_RAPIDJSON_URL "https://github.com/Tencent/rapidjson.git")
52-
set(OLP_SDK_CPP_RAPIDJSON_TAG "master")
52+
# Next commit after that breaks our build
53+
set(OLP_SDK_CPP_RAPIDJSON_TAG "d621dc9e9c77f81e5c8a35b8dcc16dcd63351321")
5354

5455
set(OLP_SDK_CPP_BOOST_URL "https://github.com/boostorg/boost.git")
5556
set(OLP_SDK_CPP_BOOST_TAG "boost-1.82.0")

external/rapidjson/CMakeLists.txt.rapidjson.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ include(ExternalProject)
2323
ExternalProject_Add(rapidjson
2424
GIT_REPOSITORY @OLP_SDK_CPP_RAPIDJSON_URL@
2525
GIT_TAG @OLP_SDK_CPP_RAPIDJSON_TAG@
26-
GIT_SHALLOW 1
26+
GIT_SHALLOW 0
2727
INSTALL_DIR "@EXTERNAL_BINARY_INSTALL_DIR@"
2828
CMAKE_ARGS @COMMON_PLATFORM_FLAGS@
2929
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>

0 commit comments

Comments
 (0)