bump minimum cmake versions in gtest to eliminate cmake deprecation warnings

This commit is contained in:
Jason Beach 2021-07-15 15:05:52 -04:00
parent b591d8ae2a
commit 3fd67c8d06
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)