summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-05 19:20:20 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-05 19:20:20 (GMT)
commit038e3a4f718bcf6936065beecf886f7c1fc178cc (patch)
tree2c324fd1caf0fc70e147cfa3846a52d7b8daf71f /Source
parent4ada475ef5e15fa72a2f075ec1efafce321c313c (diff)
downloadCMake-038e3a4f718bcf6936065beecf886f7c1fc178cc.zip
CMake-038e3a4f718bcf6936065beecf886f7c1fc178cc.tar.gz
CMake-038e3a4f718bcf6936065beecf886f7c1fc178cc.tar.bz2
cmVisualStudio10TargetGenerator: Run clang-format
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 15fae42..11dc28c 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2356,11 +2356,11 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
cmGlobalVisualStudio10Generator* gg =
static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
const char* toolset = gg->GetPlatformToolset();
- if (toolset && (toolset == kWINDOWS_7_1_SDK ||
- cmHasLiteralPrefix(toolset, "v90") ||
- cmHasLiteralPrefix(toolset, "v100") ||
- cmHasLiteralPrefix(toolset, "v110") ||
- cmHasLiteralPrefix(toolset, "v120"))) {
+ if (toolset &&
+ (toolset == kWINDOWS_7_1_SDK || cmHasLiteralPrefix(toolset, "v90") ||
+ cmHasLiteralPrefix(toolset, "v100") ||
+ cmHasLiteralPrefix(toolset, "v110") ||
+ cmHasLiteralPrefix(toolset, "v120"))) {
if (const char* debug =
linkOptions.GetFlag("GenerateDebugInformation")) {
// Convert value from enumeration back to boolean for older toolsets.