diff --git a/CMakeLists.txt b/CMakeLists.txt index 63e0f5bdf8860..cfc5ccbca3dfb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/cmake/dependencies_generator.py b/cmake/dependencies_generator.py index b7b2deeb1fdfc..ee15632178440 100644 --- a/cmake/dependencies_generator.py +++ b/cmake/dependencies_generator.py @@ -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() diff --git a/third_party/utf8_range/CMakeLists.txt b/third_party/utf8_range/CMakeLists.txt index e054893c63bf2..67d2094cdaa77 100644 --- a/third_party/utf8_range/CMakeLists.txt +++ b/third_party/utf8_range/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.5) +cmake_minimum_required (VERSION 3.16) project (utf8_range C CXX) # option() honor variables