diff options
author | Brad King <brad.king@kitware.com> | 2011-01-11 20:50:13 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-01-11 20:50:13 (GMT) |
commit | c73babf5d2f8bb93bef9adc947a59cc4b8189853 (patch) | |
tree | 70cf48d9e4367065317c7547dbea0219181ff2c6 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 984ca06a8ef41ef8b16e820db687be44f4c19ec5 (diff) | |
parent | f661b953331f891ced0bbaff5e19f991a66e138b (diff) | |
download | CMake-c73babf5d2f8bb93bef9adc947a59cc4b8189853.zip CMake-c73babf5d2f8bb93bef9adc947a59cc4b8189853.tar.gz CMake-c73babf5d2f8bb93bef9adc947a59cc4b8189853.tar.bz2 |
Merge topic 'vs-Fortran-only-DLL'
f661b95 VS: Fix linking of Fortran-only DLL projects (#10803)
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 418b8b4..1571a0e 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1028,7 +1028,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: |