Re: [CMake] compiler detection order

2006-05-30 Thread David Cole
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"

[CMake] compiler detection order

2006-05-28 Thread Doug Henry
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