From 3debb9e2bb583c54755afc8ce66799c441981575 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 25 Mar 2026 19:06:10 +0100 Subject: [PATCH] cmake: bump CMake policy compatibilty version --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 30c4bfc14d..00c90ba60a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ endif() # MSVC runtime library flags are selected by an abstraction. set(CMAKE_POLICY_DEFAULT_CMP0091 NEW) -cmake_minimum_required(VERSION 3.0.0...3.10) +cmake_minimum_required(VERSION 3.0.0...4.0) project(SDL2 C) if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7cabbc3603..288645d73a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0...3.10) +cmake_minimum_required(VERSION 3.0...4.0) project(SDL2_test C) include(CheckCCompilerFlag)