Re: [CMake] What do I need to do to insure that CMake uses gfortran?

2014-04-04 Thread Conan
k. C On 2014-04-03 15:37, Nils Gladitz wrote: On 03.04.2014 23:07, Conan wrote: I have my env var FC set to /usr/bin/gfortran. This is verified by the line MESSAGE("FC = " $ENV{FC}). However GET_FILENAME_COMPONENT(Fortran_COMPILER_NAME ${CMAKE_Fortran_COMPILER} NAME) sets Fort

[CMake] What do I need to do to insure that CMake uses gfortran?

2014-04-03 Thread Conan
ME ${CMAKE_Fortran_COMPILER} NAME) sets Fortran_COMPILER_NAME to f95. I thought by setting the FC env var I could for the use of gfortran. What do I need to do to insure that CMake uses gfortran? Conan -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: