Hey all,
sorry for the late reply but that indeed fixes the issue!
thanks Brad.
On 28.08.2015 17:15, Brad King wrote:
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
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:
Hey all,
i'm encountering link errors on C-Fortran interface verification on
MSYS2 (fully updated) / MinGW (x86_64-4.9.2-posix-seh-rt_v4-rev2) /
CMake 3.3.0.
Here's a minimal example:
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(C_Fortran_Mingw VERSION 1.0 LANGUAGES C Fortran)