diff options
author | Abseil Team <absl-team@google.com> | 2020-03-13 16:36:27 -0400 |
---|---|---|
committer | vslashg <gfalcon@google.com> | 2020-03-17 17:20:31 -0400 |
commit | 227faf41db5eec00fa2b316098a49771b2fb4ad8 (patch) | |
tree | 354193f3779c5ab6af6d43b250b7c67bacb2c784 | |
parent | 230afdb24e0ffb740f5af00c994442200ed59ae0 (diff) | |
download | googletest-227faf41db5eec00fa2b316098a49771b2fb4ad8.tar.gz googletest-227faf41db5eec00fa2b316098a49771b2fb4ad8.tar.bz2 googletest-227faf41db5eec00fa2b316098a49771b2fb4ad8.zip |
Googletest export
Fix Compilation against CMake < 3.7 (Fix #2711)
`VERSION_GREATER_EQUAL` was introduced in CMake 3.7
ref: https://cmake.org/cmake/help/v3.7/release/3.7.html#commands
PiperOrigin-RevId: 300817917
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d8834096..37e7b612 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ endif (POLICY CMP0048) project(googletest-distribution) set(GOOGLETEST_VERSION 1.10.0) -if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.1") +if (CMAKE_VERSION VERSION_GREATER "3.0.2") if(NOT CYGWIN AND NOT MSYS) set(CMAKE_CXX_EXTENSIONS OFF) endif() |