mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-12 09:25:42 +00:00
cmake: update cmake_minimum_required to avoid deprecated warning
This commit is contained in:
parent
dbb6cd02aa
commit
dbfd47e77d
6 changed files with 6 additions and 6 deletions
2
.github/cmake/CMakeLists.txt
vendored
2
.github/cmake/CMakeLists.txt
vendored
|
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.0)
|
||||
cmake_minimum_required(VERSION 3.0...3.5)
|
||||
project(ci_utils C CXX)
|
||||
|
||||
set(txt "CC=${CMAKE_C_COMPILER}
|
||||
|
|
|
|||
2
.github/workflows/msvc.yml
vendored
2
.github/workflows/msvc.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
os.makedirs(builddir)
|
||||
with open(f"{ builddir }/CMakeLists.txt", "w") as f:
|
||||
f.write(textwrap.dedent(f"""\
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
cmake_minimum_required(VERSION 3.0...3.5)
|
||||
project(sdl_user)
|
||||
add_subdirectory("{ srcdir }" SDL)
|
||||
"""))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue