summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-24 20:36:56 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-24 20:36:56 (GMT)
commit9bf0811e34e7d26eb4aaf7bb250b1fd8be5cbb87 (patch)
tree10b4e6873a38e197a8525b009d7b3d5ce960c998 /Source
parent8b54b7a68358e0eda5b1d28a2bff68ab90edcf14 (diff)
downloadCMake-9bf0811e34e7d26eb4aaf7bb250b1fd8be5cbb87.zip
CMake-9bf0811e34e7d26eb4aaf7bb250b1fd8be5cbb87.tar.gz
CMake-9bf0811e34e7d26eb4aaf7bb250b1fd8be5cbb87.tar.bz2
COMP: remove compiler warning
Diffstat (limited to 'Source')
-rw-r--r--Source/cmOrderLinkDirectories.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx
index d11853e..6e2ef34 100644
--- a/Source/cmOrderLinkDirectories.cxx
+++ b/Source/cmOrderLinkDirectories.cxx
@@ -6,11 +6,11 @@
//-------------------------------------------------------------------
bool cmOrderLinkDirectories::LibraryInDirectory(const char* dir,
- const char* lib)
+ const char* libIn)
{
cmStdString path = dir;
path += "/";
- path += lib;
+ path += libIn;
// first look for the library as given
if(cmSystemTools::FileExists(path.c_str()))
{
@@ -18,7 +18,7 @@ bool cmOrderLinkDirectories::LibraryInDirectory(const char* dir,
}
// next remove the extension (.a, .so ) and look for the library
// under a different name as the linker can do either
- if(m_RemoveLibraryExtension.find(lib))
+ if(m_RemoveLibraryExtension.find(libIn))
{
cmStdString lib = m_RemoveLibraryExtension.match(1);
cmStdString ext = m_RemoveLibraryExtension.match(2);