Bump minimum cmake versions in gtest to eliminate cmake deprecation warnings. (#1012)

This commit is contained in:
jbeach
2021-07-15 17:08:00 -04:00
committed by GitHub
parent b591d8ae2a
commit ef0bba178d
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
# Note: CMake support is community-based. The maintainers do not use CMake
# internally.
cmake_minimum_required(VERSION 2.8.8)
cmake_minimum_required(VERSION 2.9)
if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)

View File

@@ -42,7 +42,7 @@ else()
cmake_policy(SET CMP0048 NEW)
project(gmock VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
endif()
cmake_minimum_required(VERSION 2.6.4)
cmake_minimum_required(VERSION 2.9)
if (COMMAND set_up_hermetic_build)
set_up_hermetic_build()

View File

@@ -53,7 +53,7 @@ else()
cmake_policy(SET CMP0048 NEW)
project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
endif()
cmake_minimum_required(VERSION 2.6.4)
cmake_minimum_required(VERSION 2.9)
if (POLICY CMP0063) # Visibility
cmake_policy(SET CMP0063 NEW)