Skip to content
  • Brad King's avatar
    CMakeDetermineCompilerId: Fix Intel Fortran compiler id detection · 2d36c9ab
    Brad King authored
    The Intel Fortran compiler needs the /fpp option to enable C
    preprocessing.  Without the option the compiler may warn and ignore
    preprocessor lines instead of failing with an error.  Detect the
    warning and treat it as failure so that we move on to try /fpp and
    detect the correct id.  Without this it works only by luck because
    Intel is the first compiler id in our detection source file.
    2d36c9ab