mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 20:19:26 +00:00
[CMAKE] Disable treating warnings as errors in GCC release builds, at least until we get everything under control, for example CORE-7885.
svn path=/trunk/; revision=68153
This commit is contained in:
parent
4945778e7d
commit
ef6a028073
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Warnings, errors
|
# Warnings, errors
|
||||||
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
if((NOT CMAKE_BUILD_TYPE STREQUAL "Release") AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
|
||||||
add_compile_flags("-Werror")
|
add_compile_flags("-Werror")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue