mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +00:00
[CMAKE]
- And here's finally a reason why we shouldn't use g++'s host-headers and libraries - Switch back to wishy-washy-what's-a-standard mode for C++ globally, and enable C++11 only for netshell svn path=/trunk/; revision=59534
This commit is contained in:
parent
efe732ec14
commit
57cbddb184
2 changed files with 6 additions and 1 deletions
|
@ -15,7 +15,7 @@ if(GCC_VERSION VERSION_GREATER 4.7)
|
|||
add_compile_flags("-mstackrealign")
|
||||
endif()
|
||||
|
||||
add_compile_flags_language("-fno-rtti -fno-exceptions -std=gnu++11" "CXX")
|
||||
add_compile_flags_language("-fno-rtti -fno-exceptions" "CXX")
|
||||
|
||||
#bug
|
||||
#file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE)
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
|
||||
set_cpp(WITH_RUNTIME)
|
||||
|
||||
if(NOT MSVC)
|
||||
# HACK: this should be enabled globally!
|
||||
add_compile_flags_language("-std=c++11" "CXX")
|
||||
endif()
|
||||
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
|
||||
|
|
Loading…
Reference in a new issue