summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-05 14:34:23 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-02-05 14:34:23 (GMT)
commit43a78f5b295fb68012e41ebe32b8d78fca63261f (patch)
treefd0a8cb5b1785b1766e951f6cdba58a41b091393 /Source
parent2233ddf5ae7c178528def572e8f6040ebcec4c36 (diff)
parenta6971f6510e532b10f6548f0b77592f41faba38f (diff)
downloadCMake-43a78f5b295fb68012e41ebe32b8d78fca63261f.zip
CMake-43a78f5b295fb68012e41ebe32b8d78fca63261f.tar.gz
CMake-43a78f5b295fb68012e41ebe32b8d78fca63261f.tar.bz2
Merge topic 'FeatureSummary-no-transitive'
a6971f65 FeatureSummary: Don't list transitive package dependencies
Diffstat (limited to 'Source')
-rw-r--r--Source/cmFindPackageCommand.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index c59aafd..73eba51 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -1043,6 +1043,12 @@ void cmFindPackageCommand::AppendToFoundProperty(bool found)
//----------------------------------------------------------------------------
void cmFindPackageCommand::AppendSuccessInformation()
{
+ {
+ std::string transitivePropName = "_CMAKE_";
+ transitivePropName += this->Name + "_TRANSITIVE_DEPENDENCY";
+ this->Makefile->GetCMakeInstance()
+ ->SetProperty(transitivePropName.c_str(), "False");
+ }
std::string found = this->Name;
found += "_FOUND";
std::string upperFound = cmSystemTools::UpperCase(found);