summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-11-14 14:37:58 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-11-14 14:37:58 (GMT)
commite9fa0d3cbbd7e7597fce64cf55d4b4a47038c489 (patch)
tree3158b64940b8e64719195f3da7c796c757c97206 /Source/cmLocalUnixMakefileGenerator.cxx
parent388c4ad2077f8af9141192a68379227d292f3bf4 (diff)
downloadCMake-e9fa0d3cbbd7e7597fce64cf55d4b4a47038c489.zip
CMake-e9fa0d3cbbd7e7597fce64cf55d4b4a47038c489.tar.gz
CMake-e9fa0d3cbbd7e7597fce64cf55d4b4a47038c489.tar.bz2
Fix building on NMake. Use short paths
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index fdb2234..1f4240c 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -547,7 +547,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
std::string dir, file;
cmSystemTools::SplitProgramPath(lib->first.c_str(),
dir, file);
- std::string libpath = cmSystemTools::ConvertToOutputPath(dir.c_str());
+ std::string libpath = this->ConvertToOutputForExisting(dir.c_str());
if(emitted.insert(libpath).second)
{
linkLibs += libPathFlag;