Index: pylib/gyp/msvs_emulation.py |
diff --git a/pylib/gyp/msvs_emulation.py b/pylib/gyp/msvs_emulation.py |
index 1d59e8beb2948c0489ae9e6a45deed37304bc873..3ac153dd862b40bf470e57f56238af33e81cf1a8 100644 |
--- a/pylib/gyp/msvs_emulation.py |
+++ b/pylib/gyp/msvs_emulation.py |
@@ -363,7 +363,7 @@ class MsvsSettings(object): |
cl('AdditionalOptions', prefix='') |
cflags.extend(['/FI' + f for f in self._Setting( |
('VCCLCompilerTool', 'ForcedIncludeFiles'), config, default=[])]) |
- if self.vs_version.short_name == '2013' or self.vs_version == '2013e': |
+ if self.vs_version.short_name in ('2013', '2013e'): |
# New flag required in 2013 to maintain previous PDB behavior. |
cflags.append('/FS') |
# ninja handles parallelism by itself, don't have the compiler do it too. |