From 70d70c1d315a91ed414892fb70974026082bcc99 Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Tue, 26 Aug 2025 13:41:41 -0400 Subject: Fix warnings from CMake version 3.31 (#8227) CMake 3.31 (released [last November](https://www.kitware.com/cmake-3-31-0-available-for-download/)) deprecated compatibility with CMake versions older than 3.10, causing warnings when running commands like `cmake --preset default` in the Slang repo: ``` CMake Deprecation Warning at external/miniz/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. CMake Deprecation Warning at external/lz4/build/cmake/CMakeLists.txt:13 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. ``` Those dependencies modified their `cmake_minimum_required` calls in lz4/lz4#1601 and richgel999/miniz#344 respectively to fix those warnings, so this PR bumps them both to include those changes. Co-authored-by: Ellie Hermaszewska --- external/lz4 | 2 +- external/miniz | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/lz4 b/external/lz4 index 039ab4696..7f71be01f 160000 --- a/external/lz4 +++ b/external/lz4 @@ -1 +1 @@ -Subproject commit 039ab4696526378ec0d111058b48305964284bf2 +Subproject commit 7f71be01f2c6f6b2c3cddb67eef8c38eab12ffd4 diff --git a/external/miniz b/external/miniz index 18795fa61..6ef6c68f4 160000 --- a/external/miniz +++ b/external/miniz @@ -1 +1 @@ -Subproject commit 18795fa61e590521381ba9e1fa4a4ab362b095f6 +Subproject commit 6ef6c68f4fcbb8287aa8edf9c6670804932f41c6 -- cgit v1.2.3