summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2020-10-30 11:31:54 -0400
committerChuck Atkins <chuck.atkins@kitware.com>2020-10-30 11:31:54 -0400
commit32f4f52d95dc99c35f51deed552a6ba700567f94 (patch)
tree0cc8bf77d1a4583d3f95754fc6607afc259afd5e
parent3005672db1d05f2378f642b61faa96f85498befe (diff)
downloadgoogletest-32f4f52d95dc99c35f51deed552a6ba700567f94.tar.gz
googletest-32f4f52d95dc99c35f51deed552a6ba700567f94.zip
Bump CMake minimum to 2.8.12
-rw-r--r--CMakeLists.txt2
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--googlemock/CMakeLists.txt2
-rw-r--r--googletest/CMakeLists.txt2
-rw-r--r--googletest/README.md2
5 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e516b4b7..12fd7450 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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.8.12)
if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fe4790d7..2f653c82 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -89,7 +89,7 @@ and their own tests from a git checkout, which has further requirements:
* [Python](https://www.python.org/) v2.3 or newer (for running some of the
tests and re-generating certain source files from templates)
-* [CMake](https://cmake.org/) v2.6.4 or newer
+* [CMake](https://cmake.org/) v2.8.12 or newer
## Developing Google Test and Google Mock
diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt
index 18879427..777fa0c2 100644
--- a/googlemock/CMakeLists.txt
+++ b/googlemock/CMakeLists.txt
@@ -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.8.12)
if (COMMAND set_up_hermetic_build)
set_up_hermetic_build()
diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt
index cf63c602..9c2c89fd 100644
--- a/googletest/CMakeLists.txt
+++ b/googletest/CMakeLists.txt
@@ -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)
diff --git a/googletest/README.md b/googletest/README.md
index 8520549c..06dd6ca1 100644
--- a/googletest/README.md
+++ b/googletest/README.md
@@ -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)
OpenPOWER on IntegriCloud