projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4945778
)
[CMAKE] Disable treating warnings as errors in GCC release builds, at least until...
author
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 15 Jun 2015 18:48:38 +0000
(18:48 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 15 Jun 2015 18:48:38 +0000
(18:48 +0000)
svn path=/trunk/; revision=68153
reactos/cmake/gcc.cmake
patch
|
blob
|
history
diff --git
a/reactos/cmake/gcc.cmake
b/reactos/cmake/gcc.cmake
index
5ec887b
..
a6c7fd6
100644
(file)
--- a/
reactos/cmake/gcc.cmake
+++ b/
reactos/cmake/gcc.cmake
@@
-111,7
+111,7
@@
else()
endif()
# 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")
endif()