From edf3883edb0e7d7c064f8d49ce3ffce66355fa47 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 9 Apr 2025 22:45:53 +0200
Subject: [PATCH] cmake: bump cmake policy level to latest CMake version
Having higher CMake compatibility levels allows better integration with current CMake projects
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 57d9052e0..cc86e0db6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
# you can define SDL2_INCLUDE_DIR on the cmdline. For example:
# cmake -DSDL2_INCLUDE_DIR=/opt/SDL2/include/SDL2 [other stuff]
-cmake_minimum_required(VERSION 3.0.0...3.10)
+cmake_minimum_required(VERSION 3.0.0...4.0)
project(sdl12_compat
VERSION 1.2.69
LANGUAGES C)