CMakeLists.txt: set minimum version to 3.7

cmake/cpu.cmake (at least) requires 3.7 due to its use of GREATER_EQUAL:
https://cmake.org/cmake/help/latest/release/3.7.html

Bug: webp:538
Change-Id: I63511226a593218e1f4d3b1a7c4c998de3ba2ae1
This commit is contained in:
James Zern 2021-08-31 13:21:46 -07:00
parent 1a8f0d45d3
commit 3875c7de07

View File

@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may # in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree. # be found in the AUTHORS file in the root of the source tree.
cmake_minimum_required(VERSION 3.5) cmake_minimum_required(VERSION 3.7)
if(POLICY CMP0072) if(POLICY CMP0072)
cmake_policy(SET CMP0072 NEW) cmake_policy(SET CMP0072 NEW)