mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CMAKE] Do not treat C4189 as an error in Release builds.
svn path=/trunk/; revision=67864
This commit is contained in:
@@ -75,6 +75,10 @@ add_compile_flags("/we4013 /we4020 /we4022 /we4047 /we4098 /we4113 /we4129 /we41
|
||||
# - 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")
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
|
||||
Reference in New Issue
Block a user