cmake: Reduce minimum CMake version from 3.25 to 3.22 (#5890)

There isn't anything in 3.25 that we actually need, so we can reduce the minimum requirement. 3.22 is commonly available across many package managers.

For a list of the changes in `FetchContent`, see:
https://cmake.org/cmake/help/latest/module/FetchContent.html
This commit is contained in:
Rob Loach
2026-05-27 03:20:11 -04:00
committed by GitHub
parent ef8b3e6195
commit e7edb181dc

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.25)
cmake_minimum_required(VERSION 3.22)
#this change avoid the warning that appear when we include raylib using Cmake fatch content
project(raylib)