[CMake] Link Fortran executable with C library using CommandLineTools C compiler on Mac OSX

Algiane Froehly algiane.froehly at inria.fr
Fri Apr 14 05:27:05 EDT 2017


Hi,

I haven’t seen this posts, it works perfectly now.

Thank you for your help.

Regards,

Algiane

> Le 13 avr. 2017 à 12:52, Brad King <brad.king at kitware.com> a écrit :
> 
> On 04/11/2017 05:31 AM, Algiane Froehly wrote:
>> if I remove the -lto_library library that is added by the
>> CMAKE_C_IMPLICIT_LINK_LIBRARIES variable.
> 
> See here:
> 
> * https://gitlab.kitware.com/cmake/cmake/merge_requests/658
> * https://gitlab.kitware.com/cmake/cmake/issues/16766
> 
> It is fixed in CMake 3.8.0.
> 
> -Brad
> 



More information about the CMake mailing list