On 11/29/2014 06:58 AM, Bill Somerville wrote: > -lgfortran -lquadmath -lm -lkernel32 -luser32 -lgdi32 -lwinspool > -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 > > but in 3.1.0-rc2 I get: > > -lquadmath -lm -lkernel32 -luser32 -lgdi32 -lwinspool > -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
The missing -lgfortran may be due to a failure to detect the implicit libraries linked by the gfortran front-end. Compare these files: CMakeFiles/3.0.2/CMakeFortranCompiler.cmake CMakeFiles/3.1.0-rc2/CMakeFortranCompiler.cmake In particular check the values of CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES recorded in the two files. Check CMakeFiles/CMakeOutput.log and/or CMakeFiles/CMakeError.log for information about how the values were extracted. Something here may have changed in 3.1. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
