From 56ed3b250ae3e4caa86a6319034cd47f05251b31 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Sat, 2 Dec 2023 10:58:48 +0100 Subject: [PATCH] googletest: bump minimum CMake version to 3.5 Modern CMake versions give the following warning when building tests: CMake Deprecation Warning at CMakeLists.txt:2 (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. Signed-off-by: Stephan Lachnit --- cmake/googletest/CMakeLists.txt.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/googletest/CMakeLists.txt.in b/cmake/googletest/CMakeLists.txt.in index 5e808996..b25167b4 100644 --- a/cmake/googletest/CMakeLists.txt.in +++ b/cmake/googletest/CMakeLists.txt.in @@ -1,5 +1,5 @@ # from https://github.com/google/googletest/blob/master/googletest/README.md -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(googletest-download NONE)