diff options
author | Brad King <brad.king@kitware.com> | 2016-08-04 15:40:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-04 15:40:09 (GMT) |
commit | 4ada475ef5e15fa72a2f075ec1efafce321c313c (patch) | |
tree | 1f1f8247a1e49cc5a7c7e85f2c2b9a36d9464902 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 36fc3a53728e1a6774cdd6dee57fac063ff32b9c (diff) | |
download | CMake-4ada475ef5e15fa72a2f075ec1efafce321c313c.zip CMake-4ada475ef5e15fa72a2f075ec1efafce321c313c.tar.gz CMake-4ada475ef5e15fa72a2f075ec1efafce321c313c.tar.bz2 |
VS: Fix VS 2015 .vcxproj debug setting for Windows7.1SDK toolset
Closes: #16213
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index fb05976..15fae42 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -44,6 +44,8 @@ #include <cmsys/auto_ptr.hxx> +static std::string const kWINDOWS_7_1_SDK = "Windows7.1SDK"; + cmIDEFlagTable const* cmVisualStudio10TargetGenerator::GetClFlagTable() const { if (this->MSTools) { @@ -2354,7 +2356,8 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions( cmGlobalVisualStudio10Generator* gg = static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator); const char* toolset = gg->GetPlatformToolset(); - if (toolset && (cmHasLiteralPrefix(toolset, "v90") || + if (toolset && (toolset == kWINDOWS_7_1_SDK || + cmHasLiteralPrefix(toolset, "v90") || cmHasLiteralPrefix(toolset, "v100") || cmHasLiteralPrefix(toolset, "v110") || cmHasLiteralPrefix(toolset, "v120"))) { |