Skip to content

Commit

Permalink
Update cmake minimum version to >=3.16.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangskz authored and copybara-github committed Dec 12, 2024
1 parent 7f75289 commit 21f535c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Minimum CMake required. If available, accept the policy-controlled behavior up
# to 3.26.
cmake_minimum_required(VERSION 3.10...3.26)
cmake_minimum_required(VERSION 3.16...3.26)

# Revert to old behavior for MSVC debug symbols.
if(POLICY CMP0141)
Expand Down
2 changes: 1 addition & 1 deletion cmake/dependencies_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def convert(self):
#
# Changes to this file will be overwritten based on Bazel definitions.
if(${CMAKE_VERSION} VERSION_GREATER 3.10 OR ${CMAKE_VERSION} VERSION_EQUAL 3.10)
if(${CMAKE_VERSION} VERSION_GREATER 3.16 OR ${CMAKE_VERSION} VERSION_EQUAL 3.16)
include_guard()
endif()
Expand Down
2 changes: 1 addition & 1 deletion third_party/utf8_range/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.16)
project (utf8_range C CXX)

# option() honor variables
Expand Down

0 comments on commit 21f535c

Please sign in to comment.