From cbca244912e38b9c44114d55cac35f0087fd5f84 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 12 Jan 2025 22:09:38 +0100 Subject: [PATCH] Bump cmake_minimum_required() to 3.10 Recent CMake versions emit: ``` CMake Deprecation Warning at 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. ``` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75e23979946..ae0e4cce8f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) if(MSVC) cmake_minimum_required(VERSION 3.13) endif()