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

Brad King brad.king at kitware.com
Thu Apr 13 06:52:51 EDT 2017


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