cmake: Compatibility with CMake < 3.10 will be removed in a future CMake version
Some checks failed
Build (Android) / CMake (push) Has been cancelled
Build (Android) / Android.mk (push) Has been cancelled
Build (C/P Actions) / FreeBSD (push) Has been cancelled
Build (Emscripten) / emscripten (push) Has been cancelled
Build (iOS/tvOS) / iOS (push) Has been cancelled
Build (iOS/tvOS) / tvOS (push) Has been cancelled
Build / Intel Compiler (Ubuntu 20.04) (push) Has been cancelled
Build / Intel oneAPI (Ubuntu 20.04) (push) Has been cancelled
Build / MacOS (autotools) (push) Has been cancelled
Build / Ubuntu 20.04 (autotools) (push) Has been cancelled
Build / Ubuntu 22.04 (autotools) (push) Has been cancelled
Build / MacOS (CMake) (push) Has been cancelled
Build / iOS (CMake) (push) Has been cancelled
Build / tvOS (CMake) (push) Has been cancelled
Build / Windows (clang32) (push) Has been cancelled
Build / Windows (clang64) (push) Has been cancelled
Build / Windows (mingw32) (push) Has been cancelled
Build / Windows (ucrt64) (push) Has been cancelled
Build / Windows (mingw64) (push) Has been cancelled
Build / Ubuntu 20.04 (CMake) (push) Has been cancelled
Build / Ubuntu 22.04 (CMake) (push) Has been cancelled
Build (MSVC) / GDK (x64) (push) Has been cancelled
Build (MSVC) / UWP (x64) (push) Has been cancelled
Build (MSVC) / Windows (ARM) (push) Has been cancelled
Build (MSVC) / Windows (ARM64) (push) Has been cancelled
Build (MSVC) / Windows (x64) (push) Has been cancelled
Build (MSVC) / Windows (x86) (push) Has been cancelled
Build (MSVC) / Windows (clang-cl x64) (push) Has been cancelled
Build (MSVC) / Windows (clang-cl x86) (push) Has been cancelled
Build (MSVC) / Windows static VCRT (x64) (push) Has been cancelled
Build (MSVC) / Windows static VCRT (x86) (push) Has been cancelled
Build (Nintendo 3DS) / n3ds (push) Has been cancelled
Build (Sony Playstation 2) / ps2 (push) Has been cancelled
Build (Sony Playstation Portable) / psp (push) Has been cancelled
Build (RISC OS) / CMake (push) Has been cancelled
Build (RISC OS) / autotools (push) Has been cancelled
Build (Sony Playstation Vita) / GLES (PVR_PSP2 + gl4es4vita) (push) Has been cancelled
Build (Sony Playstation Vita) / GLES (pib) (push) Has been cancelled
Build (OpenWatcom) / OS/2 (push) Has been cancelled
Build (OpenWatcom) / Windows (push) Has been cancelled

This commit is contained in:
Anonymous Maarten 2024-11-17 21:53:32 +01:00
parent c672c0e80f
commit e924f12a7b

View file

@ -5,7 +5,7 @@ endif()
# MSVC runtime library flags are selected by an abstraction. # MSVC runtime library flags are selected by an abstraction.
set(CMAKE_POLICY_DEFAULT_CMP0091 NEW) set(CMAKE_POLICY_DEFAULT_CMP0091 NEW)
cmake_minimum_required(VERSION 3.0.0...3.5) cmake_minimum_required(VERSION 3.0.0...3.10)
project(SDL2 C) project(SDL2 C)
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)