Skip to content

Commit 3debb9e

Browse files
committed
cmake: bump CMake policy compatibilty version
1 parent 70584e5 commit 3debb9e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ endif()
55
# MSVC runtime library flags are selected by an abstraction.
66
set(CMAKE_POLICY_DEFAULT_CMP0091 NEW)
77

8-
cmake_minimum_required(VERSION 3.0.0...3.10)
8+
cmake_minimum_required(VERSION 3.0.0...4.0)
99
project(SDL2 C)
1010

1111
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.0...3.10)
1+
cmake_minimum_required(VERSION 3.0...4.0)
22
project(SDL2_test C)
33

44
include(CheckCCompilerFlag)

0 commit comments

Comments
 (0)