summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-09-07 10:52:06 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-09-07 10:52:06 (GMT)
commitc2cc88343093ee65c6fe610f19c91435ec29527e (patch)
tree03b42553fd6868c21f48f6824313f985d0deff88 /Source
parentaeaae298bed53324bb61fae67a576510e25d602d (diff)
downloadCMake-c2cc88343093ee65c6fe610f19c91435ec29527e.zip
CMake-c2cc88343093ee65c6fe610f19c91435ec29527e.tar.gz
CMake-c2cc88343093ee65c6fe610f19c91435ec29527e.tar.bz2
COMP: fix compile warning/error (non-void function returning void)
Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmFindPackageCommand.cxx2
-rw-r--r--Source/cmFindPackageCommand.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index 7a0b462..f8ec695 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -533,7 +533,7 @@ bool cmFindPackageCommand
//----------------------------------------------------------------------------
-bool cmFindPackageCommand::SetModuleVariables(const std::string& components)
+void cmFindPackageCommand::SetModuleVariables(const std::string& components)
{
// Store the list of components.
std::string components_var = this->Name + "_FIND_COMPONENTS";
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index 398d6a9..cf27965 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -73,7 +73,7 @@ public:
private:
void AppendSuccessInformation();
void AppendToProperty(const char* propertyName);
- bool SetModuleVariables(const std::string& components);
+ void SetModuleVariables(const std::string& components);
bool FindModule(bool& found);
bool HandlePackageMode();
void FindConfig();