mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
VS: Fix linking of Fortran-only DLL projects (#10803)
Emit the LinkDLL attribute of VFLinkerTool for Fortran DLLs.
This commit is contained in:
@@ -1011,7 +1011,12 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
|
||||
temp += "/";
|
||||
temp += targetNameImport;
|
||||
fout << "\t\t\t\tImportLibrary=\""
|
||||
<< this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"/>\n";
|
||||
<< this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"";
|
||||
if(this->FortranProject)
|
||||
{
|
||||
fout << "\n\t\t\t\tLinkDLL=\"true\"";
|
||||
}
|
||||
fout << "/>\n";
|
||||
}
|
||||
break;
|
||||
case cmTarget::EXECUTABLE:
|
||||
|
||||
Reference in New Issue
Block a user