diff options
author | Brad King <brad.king@kitware.com> | 2014-07-15 19:19:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-16 17:31:30 (GMT) |
commit | 9d72df45057afd955d6bbb7ee2ceb62ab8dc777a (patch) | |
tree | 462d56c76332440cd2fc138686b0f4fd2a974dcf /Source | |
parent | d5f0743d0f97fb44bcfaafd8680a00631d1c7d40 (diff) | |
download | CMake-9d72df45057afd955d6bbb7ee2ceb62ab8dc777a.zip CMake-9d72df45057afd955d6bbb7ee2ceb62ab8dc777a.tar.gz CMake-9d72df45057afd955d6bbb7ee2ceb62ab8dc777a.tar.bz2 |
Genex: Adjust code layout slightly
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx index db1d180..28879f1 100644 --- a/Source/cmGeneratorExpressionEvaluator.cxx +++ b/Source/cmGeneratorExpressionEvaluator.cxx @@ -1039,8 +1039,8 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD( ASSERT_TRANSITIVE_PROPERTY_METHOD) false); - } #undef ASSERT_TRANSITIVE_PROPERTY_METHOD + } } std::string linkedTargetsContent; @@ -1090,9 +1090,8 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode } else if(!interfacePropertyName.empty()) { - const cmTarget::LinkImplementationLibraries *impl - = target->GetLinkImplementationLibraries(context->Config); - if(impl) + if(cmTarget::LinkImplementationLibraries const* impl = + target->GetLinkImplementationLibraries(context->Config)) { linkedTargetsContent = getLinkedTargetsContent(impl->Libraries, target, |