From 24e662a4ff6ac35ea2b13fcf2d473fb68f98aa5a Mon Sep 17 00:00:00 2001 From: Olaf Mandel Date: Wed, 27 Sep 2023 12:37:49 +0200 Subject: [PATCH] CMake: bump minimum required version This fixes the following deprecation warning generated by newer CMake versions: ``` CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. ``` The chosen policy_max version is the current CMake-version. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 282447f..b1cbdb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.2...3.27) project(LRUCache11)