Skip to content

Commit 920359a

Browse files
committed
cmake: silence cmake version warning in bundled zstd
1 parent 0f9c15f commit 920359a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/3rd_party/zstd/CMakeLists.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ ExternalProject_Add(
44
project_zstdlib
55
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/
66
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/zstdlib
7+
# Bundled ZSTD declares compatibility with CMake < 3.5 (removed in CMake 4)
8+
CMAKE_ARGS -DCMAKE_POLICY_VERSION_MINIMUM=3.5
79
UPDATE_COMMAND "" # Do nothing
810
INSTALL_COMMAND "" # Do nothing
911
LOG_CONFIGURE ON

0 commit comments

Comments
 (0)