Skip to content

Commit 08d276e

Browse files
Update Snappy
CMake 4.0 doesn't support cases when required version is too low Relates-To: MINOR Signed-off-by: Andrey Kashcheev <[email protected]>
1 parent 6223287 commit 08d276e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

external/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ set(OLP_SDK_CPP_GOOGLETEST_URL "https://github.com/google/googletest.git")
4343
set(OLP_SDK_CPP_GOOGLETEST_TAG "release-1.12.1")
4444

4545
set(OLP_SDK_CPP_SNAPPY_URL "https://github.com/google/snappy.git")
46-
set(OLP_SDK_CPP_SNAPPY_TAG "1.1.7")
46+
set(OLP_SDK_CPP_SNAPPY_TAG "1.2.2")
4747

4848
set(OLP_SDK_CPP_LEVELDB_URL "https://github.com/google/leveldb.git")
4949
set(OLP_SDK_CPP_LEVELDB_TAG "1.21")

external/leveldb/CMakeLists.txt.leveldb.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ ExternalProject_Add(snappy
2727
GIT_SHALLOW 1
2828
INSTALL_DIR "@EXTERNAL_BINARY_INSTALL_DIR@"
2929
CMAKE_ARGS @COMMON_PLATFORM_FLAGS@
30+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
3031
-DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@
3132
-DCMAKE_INSTALL_LIBDIR=lib
3233
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>

0 commit comments

Comments
 (0)