On 06/27/2011 02:39 PM, Raphael Münster wrote: > enable_language (Fortran) > > set(CMAKE_Fortran_COMPILER "mpif90")
Set the compiler variable *before* enabling the language. The enable_language command does a whole bunch of introspection of the compiler. -Brad _______________________________________________ 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