diff options
author | Wil Stark <wil_stark@keysight.com> | 2019-02-05 15:12:38 -0800 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-07 06:39:45 -0500 |
commit | 822697996e3c3fb92eaa817584d0bf6e0bd76b22 (patch) | |
tree | e1689d83e5c97afb907cc12c820d1dd01b7a1761 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | 6f23321d405930241fa431cfda7650f2993f0c19 (diff) | |
download | cmake-822697996e3c3fb92eaa817584d0bf6e0bd76b22.tar.gz |
VS: Fix nowarn compiler option to accept warning numbers.
Warning disables are transferred to the VS IDE `<NoWarn>` node.
Fixes: #18878
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 07656ed67b..d8b2e892cb 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -1136,6 +1136,8 @@ static unsigned int cmLoadFlagTableSpecial(Json::Value entry, value |= cmIDEFlagTable::CaseInsensitive; } else if (s == "SpaceAppendable") { value |= cmIDEFlagTable::SpaceAppendable; + } else if (s == "CommaAppendable") { + value |= cmIDEFlagTable::CommaAppendable; } } } |