[CMake] compiler detection order
David Cole
david.cole at kitware.com
Tue May 30 09:57:00 EDT 2006
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" if you have one.)
HTH,
David
Doug Henry wrote:
> 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 list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list