summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-05-06 14:32:10 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-05-06 14:32:10 (GMT)
commit1f8f58a0b9a7883aedf7a4bcb185e9784db4f13b (patch)
treec1b4364a493bcd72714a1292c83c50cf1ba2e740 /Source/cmFindPackageCommand.h
parentb4a189fd14bd2abf1dba61cd06e540eb8744159e (diff)
downloadCMake-1f8f58a0b9a7883aedf7a4bcb185e9784db4f13b.zip
CMake-1f8f58a0b9a7883aedf7a4bcb185e9784db4f13b.tar.gz
CMake-1f8f58a0b9a7883aedf7a4bcb185e9784db4f13b.tar.bz2
fix #13195: avoid multiple mentions of found packages
Now before adding a package to the list of found or not-found packages, the package is remvoed from both lists before. Alex
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r--Source/cmFindPackageCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index edb70a6..c380122 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -69,7 +69,7 @@ protected:
virtual void GenerateDocumentation();
private:
void AppendSuccessInformation();
- void AppendToProperty(const char* propertyName);
+ void AppendToFoundProperty(bool found);
void SetModuleVariables(const std::string& components);
bool FindModule(bool& found);
void AddFindDefinition(const char* var, const char* val);