On 05/31/2013 04:49 PM, Leek, Jim wrote: > CmakeCXXCompiler.cmake: > set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES > "stdc++;mingw32;moldname;mingwex;msvcrt;advapi32;shell32;user32;kernel32;mingw32;moldname;mingwex;msvcrt") > > CmakeFortranCompiler.cmake: > set(CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES > "gfortran;mingw32;moldname;mingwex;msvcrt;quadmath;m;mingw32;moldname;mingwex;msvcrt;advapi32;shell32;user32;kernel32;mingw32;moldname;mingwex;msvcrt")
This means CMake is correctly detecting the implicit libraries for C, C++, and Fortran. If both the Fortran library and C++ executable are built by CMake in the same project it is expected that -lgfortran will be generated on the link line. > * Can you post a complete source example where it fails? > > What would you like exactly? Do you want me to make a reproducer? Ideally we'd like a minimal example that re-produces the failure. Thanks, -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake