[CMake] Missing -lgfortran with FortranCInterface verify calls

Brad King brad.king at kitware.com
Fri Aug 28 11:15:28 EDT 2015


On 08/27/2015 03:24 AM, Daniel Wirtz wrote:
> CMake 3.3.0.
[snip]
> after checking, the @CMakeFiles/VerifyFortranC.dir/linklibs.rsp does not 
> contain the "-lgfortran" library include, hence the fuss.

I managed to reproduce this and track down the problem.  Here
is a fix based on 3.3.1:

 Makefile: Print color escapes only when necessary
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=371fe92e

Please try out that version.

Thanks,
-Brad


More information about the CMake mailing list