diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 6c92894ad..33c46a5a6 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -793,7 +793,7 @@ std::string cmSystemTools::FindLibrary(const char* name, tryPath = *p; tryPath += "/lib"; tryPath += name; - tryPath + ".so"; + tryPath += ".so"; if(cmSystemTools::FileExists(tryPath.c_str())) { return cmSystemTools::CollapseFullPath(tryPath.c_str()); @@ -801,7 +801,7 @@ std::string cmSystemTools::FindLibrary(const char* name, tryPath = *p; tryPath = "/lib"; tryPath += name; - tryPath + ".a"; + tryPath += ".a"; if(cmSystemTools::FileExists(tryPath.c_str())) { return cmSystemTools::CollapseFullPath(tryPath.c_str()); @@ -809,7 +809,7 @@ std::string cmSystemTools::FindLibrary(const char* name, tryPath = *p; tryPath = "/lib"; tryPath += name; - tryPath + ".sl"; + tryPath += ".sl"; if(cmSystemTools::FileExists(tryPath.c_str())) { return cmSystemTools::CollapseFullPath(tryPath.c_str());