Skip to content

Commit 227faf4

Browse files
Abseil Teamvslashg
Abseil Team
authored andcommitted
Googletest export
Fix Compilation against CMake < 3.7 (Fix google#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
1 parent 230afdb commit 227faf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ endif (POLICY CMP0048)
1010
project(googletest-distribution)
1111
set(GOOGLETEST_VERSION 1.10.0)
1212

13-
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.1")
13+
if (CMAKE_VERSION VERSION_GREATER "3.0.2")
1414
if(NOT CYGWIN AND NOT MSYS)
1515
set(CMAKE_CXX_EXTENSIONS OFF)
1616
endif()

0 commit comments

Comments
 (0)