mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +00:00
[CMAKE] Fix TREAT_ALL_WARNINGS_AS_ERRORS
This commit is contained in:
parent
2d57c60148
commit
4cee67df3f
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ endif()
|
|||
|
||||
# On x86 Debug builds, if it's not Clang-CL or msbuild, treat all warnings as errors
|
||||
if ((ARCH STREQUAL "i386") AND (CMAKE_BUILD_TYPE STREQUAL "Debug") AND (CMAKE_C_COMPILER_ID STREQUAL "MSVC") AND (NOT MSVC_IDE))
|
||||
set(TREAT_ALL_WARNINGS_AS_ERRORS=TRUE)
|
||||
set(TREAT_ALL_WARNINGS_AS_ERRORS TRUE)
|
||||
endif()
|
||||
|
||||
# Define ALLOW_WARNINGS=TRUE on the cmake/configure command line to bypass errors
|
||||
|
|
Loading…
Reference in a new issue