mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 13:45:00 +00:00
Merge pull request #751 from libexpat/cmake-c99
CMake: Require a C99 compiler
This commit is contained in:
commit
bb6ec6ad0f
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