summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-23 14:32:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-23 14:32:57 (GMT)
commit6ea4eadc68c948f5541811910837eed9114ddc96 (patch)
tree19c01df825204d5711718287cf95aad4fda50331 /Source
parentf5a5304c95b15fe09141a742963f298313669049 (diff)
downloadCMake-6ea4eadc68c948f5541811910837eed9114ddc96.zip
CMake-6ea4eadc68c948f5541811910837eed9114ddc96.tar.gz
CMake-6ea4eadc68c948f5541811910837eed9114ddc96.tar.bz2
BUG: undo fix
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 1ccda4c..52cccfd 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -889,12 +889,7 @@ void cmLocalVisualStudio7Generator::OutputLibraries(std::ostream& fout,
debugPostfix = m_Makefile->GetDefinition("CMAKE_DEBUG_POSTFIX");
}
}
- // chop off the last 4 chars of the library string
- std::string lowerCaseLibExt = j->first.substr(j->first.size()-4, 4);
- // lower case the extension
- lowerCaseLibExt = cmSystemTools::LowerCase(lowerCaseLibExt);
- // now check to see if it was a .lib, if not then add a .lib
- if(lowerCaseLibExt != ".lib")
+ if(j->first.find(".lib") == std::string::npos)
{
lib += debugPostfix + ".lib";
}