Author: akhaldi Date: Sat May 23 12:24:57 2015 New Revision: 67864
URL: http://svn.reactos.org/svn/reactos?rev=67864&view=rev Log: [CMAKE] Do not treat C4189 as an error in Release builds.
Modified: trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/cmake/msvc.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=67864&... ============================================================================== --- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Sat May 23 12:24:57 2015 @@ -74,6 +74,10 @@ # Enable warnings above the default level, but don't treat them as errors: # - C4115: named type definition in parentheses add_compile_flags("/w14115") + +if(CMAKE_BUILD_TYPE STREQUAL "Release") + add_compile_flags("/w14189") +endif()
# Debugging #if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")