mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
tests: build tests with C99 standard by default
This commit is contained in:
parent
5c7d549267
commit
0e96cbd8ce
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,10 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
if(NOT DEFINED CMAKE_C_STANDARD)
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
endif()
|
||||
|
||||
set(SDL3_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../cmake")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue