Bump CMake minimum to 2.8.12
This commit is contained in:
parent
3005672db1
commit
32f4f52d95
@ -1,7 +1,7 @@
|
|||||||
# Note: CMake support is community-based. The maintainers do not use CMake
|
# Note: CMake support is community-based. The maintainers do not use CMake
|
||||||
# internally.
|
# internally.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8.8)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
if (POLICY CMP0048)
|
if (POLICY CMP0048)
|
||||||
cmake_policy(SET CMP0048 NEW)
|
cmake_policy(SET CMP0048 NEW)
|
||||||
|
@ -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
|
* [Python](https://www.python.org/) v2.3 or newer (for running some of the
|
||||||
tests and re-generating certain source files from templates)
|
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
|
## Developing Google Test and Google Mock
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ else()
|
|||||||
cmake_policy(SET CMP0048 NEW)
|
cmake_policy(SET CMP0048 NEW)
|
||||||
project(gmock VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
|
project(gmock VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
|
||||||
endif()
|
endif()
|
||||||
cmake_minimum_required(VERSION 2.6.4)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
if (COMMAND set_up_hermetic_build)
|
if (COMMAND set_up_hermetic_build)
|
||||||
set_up_hermetic_build()
|
set_up_hermetic_build()
|
||||||
|
@ -53,7 +53,7 @@ else()
|
|||||||
cmake_policy(SET CMP0048 NEW)
|
cmake_policy(SET CMP0048 NEW)
|
||||||
project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
|
project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
|
||||||
endif()
|
endif()
|
||||||
cmake_minimum_required(VERSION 2.6.4)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
if (POLICY CMP0063) # Visibility
|
if (POLICY CMP0063) # Visibility
|
||||||
cmake_policy(SET CMP0063 NEW)
|
cmake_policy(SET CMP0063 NEW)
|
||||||
|
@ -75,7 +75,7 @@ pulled into the main build with `add_subdirectory()`. For example:
|
|||||||
New file `CMakeLists.txt.in`:
|
New file `CMakeLists.txt.in`:
|
||||||
|
|
||||||
```cmake
|
```cmake
|
||||||
cmake_minimum_required(VERSION 2.8.2)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
project(googletest-download NONE)
|
project(googletest-download NONE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user