mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 23:46:14 +00:00
Minor changes to add missing file for SDL and set no extensions for C compiler
Sets CMAKE_C_EXTENSIONS to OFF as we wish to use c99 *not* gnu99 Adds inc/sdldefs.h to SDL header files list
This commit is contained in:
parent
16e4062b8f
commit
ca7f09bb6d
@ -4,7 +4,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.15)
|
||||
SET(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
SET(CMAKE_C_STANDARD 99)
|
||||
# SET(CMAKE_C_EXTENSIONS OFF) # actually use c99, *not* gnu99
|
||||
SET(CMAKE_C_EXTENSIONS OFF) # actually use c99, *not* gnu99
|
||||
|
||||
IF(CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_COMPILER_ID MATCHES "GNU")
|
||||
IF(UNIX AND CMAKE_GENERATOR STREQUAL "Ninja")
|
||||
@ -106,6 +106,7 @@ IF(MAIKO_DISPLAY_SDL)
|
||||
src/sdl.c
|
||||
)
|
||||
SET(MAIKO_DISPLAY_SDL_HDRS
|
||||
inc/sdldefs.h
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user