Skip to content

Commit 21f535c

Browse files
zhangskzcopybara-github
authored andcommitted
Update cmake minimum version to >=3.16.
This is per https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md #test-continuous PiperOrigin-RevId: 705621683
1 parent 7f75289 commit 21f535c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Minimum CMake required. If available, accept the policy-controlled behavior up
22
# to 3.26.
3-
cmake_minimum_required(VERSION 3.10...3.26)
3+
cmake_minimum_required(VERSION 3.16...3.26)
44

55
# Revert to old behavior for MSVC debug symbols.
66
if(POLICY CMP0141)

cmake/dependencies_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def convert(self):
114114
#
115115
# Changes to this file will be overwritten based on Bazel definitions.
116116
117-
if(${CMAKE_VERSION} VERSION_GREATER 3.10 OR ${CMAKE_VERSION} VERSION_EQUAL 3.10)
117+
if(${CMAKE_VERSION} VERSION_GREATER 3.16 OR ${CMAKE_VERSION} VERSION_EQUAL 3.16)
118118
include_guard()
119119
endif()
120120

third_party/utf8_range/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required (VERSION 3.5)
1+
cmake_minimum_required (VERSION 3.16)
22
project (utf8_range C CXX)
33

44
# option() honor variables

0 commit comments

Comments
 (0)