Skip to content

FortranCInterface: Improve Windows support

Christian Pfeiffer requested to merge ChrisTX/cmake:f2c-int-fix into master

This MR improves the Windows support of FortranCInterface in the following ways:

  • PGI works now properly.
  • The FortranCInterface project receives the RELEASE flags from the parent. Previously, if you wanted to use /MT for C++ and /libs:static with Intel Fortran, this broke the test because the latter argument is in the FLAGS variable, whereas /MT would be specified in the configuration specific variable.

Merge request reports