CMake failure with CMake >= 3.1 and no Fortran compiler

Issue #480 resolved
Johannes Ring created an issue

The workaround for CMake bug 9220 does not work for CMake >= 3.1. When there are no Fortran compiler available on the system, like on a default OS X machine, there will be lots of errors like this:

-- Performing Test OpenMP_FLAG_DETECTED
CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed

Note that this is no longer a problem when using Clang after 5420c21.

Comments (2)

  1. Log in to comment