On Saturday 12 March 2011, rocwhite168 wrote:
> Hi everyone,
>
> I wonder how I can specify precedence when using enable_language to
> search for compilers. For example, if my system has both ifort and
> gfortran installed, and I want to use ifort instead of the gfortran,
> how could I set up this?

You can set the environment variable FC before running cmake initially.

Alex
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to