mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 13:45:00 +00:00
CMake: Require a C99 compiler
This commit is contained in:
parent
8192058e2a
commit
2a24068ec8
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ project(expat
|
|||
LANGUAGES
|
||||
C
|
||||
)
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_C_EXTENSIONS OFF) # i.e. -std=c99 rather than default -std=gnu99
|
||||
|
||||
set(PACKAGE_BUGREPORT "expat-bugs@libexpat.org")
|
||||
set(PACKAGE_NAME "expat")
|
||||
|
|
Loading…
Add table
Reference in a new issue