diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-19 17:41:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-19 17:41:10 (GMT) |
commit | 5730bd6b1bab7f8ce501c2083497986283081965 (patch) | |
tree | b08f23f13e082d200aa8be0041f90b634888403e /Source/cmLocalUnixMakefileGenerator.cxx | |
parent | e031028e10100d3294aaad0bf84394124ec435d6 (diff) | |
download | CMake-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.cxx | 2 |
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 += " "; } } |