summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-12-06 18:32:58 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-12-06 18:32:58 (GMT)
commit4372a409222544a63c48997ddc6c8c16146ed6d9 (patch)
tree15da59abc5f7f815861f8b571ee1ad2581156837 /Source/cmUnixMakefileGenerator.cxx
parentdea1309e8d00547c685320606041dd047d2293b2 (diff)
downloadCMake-4372a409222544a63c48997ddc6c8c16146ed6d9.zip
CMake-4372a409222544a63c48997ddc6c8c16146ed6d9.tar.gz
CMake-4372a409222544a63c48997ddc6c8c16146ed6d9.tar.bz2
Lib path should be converted to native path too.
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 1e1487a..23a2337 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -869,7 +869,8 @@ void cmUnixMakefileGenerator::OutputLibDepend(std::ostream& fout,
{
libpath += m_StaticLibraryExtension;
}
- fout << cmSystemTools::EscapeSpaces(libpath.c_str()) << " ";
+ fout << this->ConvertToNativePath(cmSystemTools::EscapeSpaces(libpath.c_str()).c_str())
+ << " ";
}
}