Author: akhaldi Date: Mon Jun 15 18:48:38 2015 New Revision: 68153
URL: http://svn.reactos.org/svn/reactos?rev=68153&view=rev Log: [CMAKE] Disable treating warnings as errors in GCC release builds, at least until we get everything under control, for example CORE-7885.
Modified: trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=68153&a... ============================================================================== --- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Mon Jun 15 18:48:38 2015 @@ -111,7 +111,7 @@ 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()