summaryrefslogtreecommitdiffstats
path: root/Source/cmIDEOptions.cxx
diff options
context:
space:
mode:
authorWil Stark <wil_stark@keysight.com>2019-02-05 23:12:38 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-07 11:39:45 (GMT)
commit822697996e3c3fb92eaa817584d0bf6e0bd76b22 (patch)
treee1689d83e5c97afb907cc12c820d1dd01b7a1761 /Source/cmIDEOptions.cxx
parent6f23321d405930241fa431cfda7650f2993f0c19 (diff)
downloadCMake-822697996e3c3fb92eaa817584d0bf6e0bd76b22.zip
CMake-822697996e3c3fb92eaa817584d0bf6e0bd76b22.tar.gz
CMake-822697996e3c3fb92eaa817584d0bf6e0bd76b22.tar.bz2
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/cmIDEOptions.cxx')
-rw-r--r--Source/cmIDEOptions.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmIDEOptions.cxx b/Source/cmIDEOptions.cxx
index ee0c782..ea67d45 100644
--- a/Source/cmIDEOptions.cxx
+++ b/Source/cmIDEOptions.cxx
@@ -148,6 +148,8 @@ void cmIDEOptions::FlagMapUpdate(cmIDEFlagTable const* entry,
this->FlagMap[entry->IDEName].push_back(new_value);
} else if (entry->special & cmIDEFlagTable::SpaceAppendable) {
this->FlagMap[entry->IDEName].append_with_space(new_value);
+ } else if (entry->special & cmIDEFlagTable::CommaAppendable) {
+ this->FlagMap[entry->IDEName].append_with_comma(new_value);
} else {
// Use the user-specified value.
this->FlagMap[entry->IDEName] = new_value;