fix for .def files and nmake and spaces in the path
This commit is contained in:
parent
e031028e10
commit
5730bd6b1b
|
@ -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 += " ";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue