diff options
author | Brad King <brad.king@kitware.com> | 2019-01-10 14:13:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-10 14:38:35 (GMT) |
commit | b91f6f39f7be92bab1302c4587dd51423f20cf00 (patch) | |
tree | 168ccdfb376d9b3b99b916f09b54d4ab1f7d0e97 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 89cc3d432bc576d00cb12880b37ec8b348599897 (diff) | |
download | CMake-b91f6f39f7be92bab1302c4587dd51423f20cf00.zip CMake-b91f6f39f7be92bab1302c4587dd51423f20cf00.tar.gz CMake-b91f6f39f7be92bab1302c4587dd51423f20cf00.tar.bz2 |
VS: Track explicitly when platform is specified in generator name
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 616328d..55284c9 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -61,7 +61,7 @@ void cmGlobalVisualStudio8Generator::AddPlatformDefinitions(cmMakefile* mf) bool cmGlobalVisualStudio8Generator::SetGeneratorPlatform(std::string const& p, cmMakefile* mf) { - if (this->DefaultPlatformName == "Win32") { + if (!this->PlatformInGeneratorName) { this->GeneratorPlatform = p; return this->cmGlobalVisualStudio7Generator::SetGeneratorPlatform("", mf); } else { |