• Melven Roehrig-Zoellner's avatar
    Fortran: Fix platform id detection on mingw-w64 · 8c4f100a
    Melven Roehrig-Zoellner authored
    On mingw-w64 the GNU Fortran compiler does not define `__MINGW32__` or
    any similar indicator.  Fix `CMAKE_Fortran_PLATFORM_ID` detection in
    this case by falling back to preprocessing a `.c` source file even
    when the compiler id is already detected.
    8c4f100a
CMakeDetermineFortranCompiler.cmake 11.4 KB