Looking at Modules/CMakeFortranCompiler.cmake.in it would appear you can
try to set the environment variable "FC" to indicate your preferred
fortran compiler. Or you could try passing
-DCMAKE_Fortran_COMPILER:STRING=ifort on the cmake/ccmake command line.
(Or setting it in your "initial cache"
I have g77 and ifort fortran compilers installed under linux. For a few projects I would like to force the use of ifort if available. Is there a way to "suggest" the order the cmake automatic detection looks for fortran compilers?
___
CMake mailing lis