Bump CMake minimum to 2.8.12

This commit is contained in:
Chuck Atkins
2020-10-30 11:31:54 -04:00
parent 3005672db1
commit 32f4f52d95
5 changed files with 5 additions and 5 deletions

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.8.12)
if (POLICY CMP0063) # Visibility
cmake_policy(SET CMP0063 NEW)

View File

@@ -75,7 +75,7 @@ pulled into the main build with `add_subdirectory()`. For example:
New file `CMakeLists.txt.in`:
```cmake
cmake_minimum_required(VERSION 2.8.2)
cmake_minimum_required(VERSION 2.8.12)
project(googletest-download NONE)