mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:21:50 +00:00
[CMAKE] Use C_STANDARD property instead of command line option
Addendum to64211aa696
and19779b3f96
This commit is contained in:
parent
0db79d4aa9
commit
16e5ce8fb1
4 changed files with 5 additions and 14 deletions
|
@ -53,7 +53,7 @@ if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|||
add_compile_options("$<$<COMPILE_LANGUAGE:C>:-Wold-style-declaration>")
|
||||
endif()
|
||||
else()
|
||||
add_compile_options("$<$<COMPILE_LANGUAGE:C>:-std=gnu99;-Wno-microsoft>")
|
||||
add_compile_options("$<$<COMPILE_LANGUAGE:C>:-Wno-microsoft>")
|
||||
add_compile_options(-Wno-pragma-pack)
|
||||
add_compile_options(-fno-associative-math)
|
||||
add_compile_options(-fcommon)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue