summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-21 19:16:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-21 19:16:19 (GMT)
commitc43e3a4f3fbe2263418cc3a87d9c53c6b8e1bc62 (patch)
tree27f3d82d501e66c39319dee8b37ec1bc43de3098 /Source/cmSystemTools.cxx
parent33793198b64dfdef2c0113cbfea6a784191139f2 (diff)
downloadCMake-c43e3a4f3fbe2263418cc3a87d9c53c6b8e1bc62.zip
CMake-c43e3a4f3fbe2263418cc3a87d9c53c6b8e1bc62.tar.gz
CMake-c43e3a4f3fbe2263418cc3a87d9c53c6b8e1bc62.tar.bz2
fix opengl on hp
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 447da7c..da0afec 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -799,7 +799,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
return cmSystemTools::CollapseFullPath(tryPath.c_str());
}
tryPath = *p;
- tryPath = "/lib";
+ tryPath += "/lib";
tryPath += name;
tryPath += ".a";
if(cmSystemTools::FileExists(tryPath.c_str()))
@@ -807,7 +807,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
return cmSystemTools::CollapseFullPath(tryPath.c_str());
}
tryPath = *p;
- tryPath = "/lib";
+ tryPath += "/lib";
tryPath += name;
tryPath += ".sl";
if(cmSystemTools::FileExists(tryPath.c_str()))