Skip to content

Commit 7079267

Browse files
committed
cmake: bump CMake compatibility version
1 parent 1e03edc commit 7079267

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# you can define SDL3_INCLUDE_DIRS on the cmdline. For example:
33
# cmake -DSDL3_INCLUDE_DIRS=/opt/SDL3/include [other stuff ....]
44

5-
cmake_minimum_required(VERSION 3.0.0...3.10)
5+
cmake_minimum_required(VERSION 3.0...3.28)
66
project(sdl2_compat VERSION 2.30.50 LANGUAGES C)
77

88
if(POLICY CMP0074)

build-scripts/pkg-support/msvc/cmake/SDL2Config.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# @<@PROJECT_NAME@>@ CMake configuration file:
22
# This file is meant to be placed in a cmake subfolder of @<@PROJECT_NAME@>@-devel-@<@PROJECT_VERSION@>@-VC.zip
33

4-
cmake_minimum_required(VERSION 3.0...3.5)
4+
cmake_minimum_required(VERSION 3.0...3.28)
55

66
include(FeatureSummary)
77
set_package_properties(SDL2 PROPERTIES

cmake/test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This cmake build script is meant for verifying the various CMake configuration script.
22

3-
cmake_minimum_required(VERSION 3.12)
3+
cmake_minimum_required(VERSION 3.12...3.28)
44
project(sdl_test LANGUAGES C)
55

66
include(GenerateExportHeader)

0 commit comments

Comments
 (0)