summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-09 18:53:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-09 18:53:32 (GMT)
commitf07ee5b8177e9e08f290e3acdff6c31d6b694bf6 (patch)
tree7d08c74e73010dfe3bd735b592fd64f09de5ab9c /Source/cmCommand.h
parent1dc7ae38ead50498b9e813d7c6e96f9d850b45ea (diff)
downloadCMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.zip
CMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.tar.gz
CMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.tar.bz2
ENH: change find library and find program to look for more than one name
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index 5156d46..aeb3a72 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -148,7 +148,7 @@ public:
{
if(m_Error.length() == 0)
{
- std::string m_Error = this->GetName();
+ m_Error = this->GetName();
m_Error += " uknown error.";
}
return m_Error.c_str();