From bee8e6ae9380f281d9373efb31fc54591b975c0a Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Fri, 27 Oct 2023 17:24:13 +0200 Subject: [PATCH] Fix CMake cmake_minimum_required deprecation warning Fixes ``` 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. ``` --- tests/cpp/CMakeLists.txt.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cpp/CMakeLists.txt.in b/tests/cpp/CMakeLists.txt.in index 0704ae5d1e..a93f5955c2 100644 --- a/tests/cpp/CMakeLists.txt.in +++ b/tests/cpp/CMakeLists.txt.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.15) project(googletest-download NONE)