Skip to content

Commit ebf15a1

Browse files
committed
[googletest] update min cmake version to 3.13
1 parent 794a145 commit ebf15a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deps/googletest/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ if (CMAKE_VERSION VERSION_LESS 3.0)
4848
set(PROJECT_VERSION ${GOOGLETEST_VERSION})
4949
else()
5050
cmake_policy(SET CMP0048 NEW)
51+
if (CMAKE_VERSION VERSION_GREATER 3.31)
52+
cmake_policy(SET CMP0148 NEW)
53+
endif()
5154
project(gtest VERSION 1.8.1 LANGUAGES CXX C)
5255
endif()
53-
cmake_minimum_required(VERSION 2.6.4)
56+
cmake_minimum_required(VERSION 3.13)
5457

5558
if (POLICY CMP0063) # Visibility
5659
cmake_policy(SET CMP0063 NEW)

0 commit comments

Comments
 (0)