From c2cc88343093ee65c6fe610f19c91435ec29527e Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sun, 7 Sep 2008 06:52:06 -0400 Subject: [PATCH] COMP: fix compile warning/error (non-void function returning void) Alex --- Source/cmFindPackageCommand.cxx | 2 +- Source/cmFindPackageCommand.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 7a0b46224..f8ec695ae 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 398d6a92d..cf279657b 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();