mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 05:32:21 +00:00
[CMAKE] When disabling C4101, explicitly remove the error flag.
Fixes VC2010 build.
Addendum to 11ecf5c969
.
This commit is contained in:
parent
5d8c39753e
commit
80296be1eb
4 changed files with 5 additions and 1 deletions
|
@ -94,6 +94,7 @@ endif()
|
|||
|
||||
if(MSVC AND (NOT USE_CLANG_CL))
|
||||
# Disable warnings: "unreferenced local variable", "initialized, but not used variable", "benign include"
|
||||
replace_compile_flags("/we4101" " ")
|
||||
replace_compile_flags("/we4189" " ")
|
||||
add_target_compile_flags(ext2fs "/wd4189 /wd4142 /wd4101")
|
||||
else()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue