Skip to content

Commit

Permalink
googletest: bump minimum CMake version to 3.5
Browse files Browse the repository at this point in the history
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 <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

Signed-off-by: Stephan Lachnit <[email protected]>
  • Loading branch information
stephanlachnit committed Dec 2, 2023
1 parent 9fbe4b4 commit 56ed3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/googletest/CMakeLists.txt.in
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 56ed3b2

Please sign in to comment.