summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-05-19 17:41:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-05-19 17:41:10 (GMT)
commit5730bd6b1bab7f8ce501c2083497986283081965 (patch)
treeb08f23f13e082d200aa8be0041f90b634888403e /Source/cmLocalUnixMakefileGenerator.cxx
parente031028e10100d3294aaad0bf84394124ec435d6 (diff)
downloadCMake-5730bd6b1bab7f8ce501c2083497986283081965.zip
CMake-5730bd6b1bab7f8ce501c2083497986283081965.tar.gz
CMake-5730bd6b1bab7f8ce501c2083497986283081965.tar.bz2
fix for .def files and nmake and spaces in the path
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 05d3dea..5dab6a3 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -907,7 +907,7 @@ void cmLocalUnixMakefileGenerator::OutputSharedLibraryRule(std::ostream& fout,
if((*i)->GetSourceExtension() == "def")
{
linkFlags += this->GetSafeDefinition("CMAKE_LINK_DEF_FILE_FLAG");
- linkFlags += (*i)->GetFullPath();
+ linkFlags += cmSystemTools::ConvertToOutputPath((*i)->GetFullPath().c_str());
linkFlags += " ";
}
}