From fb2a101647eb4ebd0c04bf929ade862f2be927de Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Mon, 30 Oct 2023 10:54:10 +0100 Subject: [PATCH] Fix CMake cmake_minimum_required deprecation warning (#2183) 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)