diff options
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 866ace2..8cbb573 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -403,8 +403,7 @@ void cmGlobalVisualStudio7Generator::WriteTargetConfigurations( std::string mapping; // On VS 19 and above, always map .NET SDK projects to "Any CPU". - if (target->IsDotNetSdkTarget() && - this->GetVersion() >= VSVersion::VS16 && + if (target->IsDotNetSdkTarget() && this->Version >= VSVersion::VS16 && !cmGlobalVisualStudio7Generator::IsReservedTarget( target->GetName())) { mapping = "Any CPU"; |