Commit 4d07ba8b authored by Sebastien Barre's avatar Sebastien Barre

fix + => += bug reported by A. Perera

parent 23df737b
......@@ -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());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment