mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[CMAKE] Declare that we want to use C11/C++11
That way, we won't use whatever standard is the default on whatever compiler we are using. This should also prevent using more recent features without warning.
This commit is contained in:
parent
4469ab3620
commit
64211aa696
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ set(CMAKE_SKIP_PREPROCESSED_SOURCE_RULES TRUE)
|
||||||
set(CMAKE_SKIP_ASSEMBLY_SOURCE_RULES TRUE)
|
set(CMAKE_SKIP_ASSEMBLY_SOURCE_RULES TRUE)
|
||||||
set(CMAKE_COLOR_MAKEFILE OFF)
|
set(CMAKE_COLOR_MAKEFILE OFF)
|
||||||
set(CMAKE_POSITION_INDEPENDENT_CODE OFF)
|
set(CMAKE_POSITION_INDEPENDENT_CODE OFF)
|
||||||
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
#set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
|
#set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
|
||||||
|
|
||||||
if(NOT ARCH)
|
if(NOT ARCH)
|
||||||
|
|
Loading…
Reference in a new issue