cmake: Fix cmake_minimum_required to 3.24 (#4692)

This commit is contained in:
Corentin Le Molgat
2025-06-18 10:29:31 +02:00
parent c4fd63cd61
commit f1e95386d1
3 changed files with 5 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
# limitations under the License.
# This file is just an orchestration
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.24)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# Enable output of compile commands during generation.

View File

@@ -88,7 +88,7 @@ CMake as a standalone project or incorporate it into an existing CMake project.
## Requirement
You'll need:
* `CMake >= 3.18`.
* `CMake >= 3.24`.
* A C++20 compiler (GCC 10 or above)
## Solvers supported

View File

@@ -11,6 +11,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# We are using FetchContent OVERRIDE_FIND_PACKAGE introduced in 3.24
cmake_minimum_required(VERSION 3.24)
# ##############################################################################
# SWIG (WIN32)
# ##############################################################################