Re: [CMake] help with cmake fortran envar

2010-11-19 Thread luxInteg
On Wednesday 17 November 2010 08:10:32 Arjen Markus wrote: Hello luxInteg, you are trying to set the Fortran compiler to gfortran then? Why? Why not leave it to CMake to come up with whatever compiler is suitable? That is part of the strength of tools like CMake. I have it sorted thanks

Re: [CMake] help with cmake fortran envar

2010-11-17 Thread Arjen Markus
Hello luxInteg, you are trying to set the Fortran compiler to gfortran then? Why? Why not leave it to CMake to come up with whatever compiler is suitable? That is part of the strength of tools like CMake. Regards, Arjen On 2010-11-16 20:44, luxInteg wrote: Greetings, I am learning cmake.

[CMake] help with cmake fortran envar

2010-11-16 Thread luxInteg
Greetings, I am learning cmake. I have a fortran only project with some source files with f77 routines to compile, My CMakeLists.txt in the projects base directory has the following lines set(CMAKE_Fortran_COMPILER gfortran) ENABLE_LANGUAGE(Fortran) but running cmake ends

Re: [CMake] help with cmake fortran envar

2010-11-16 Thread Rolf Eike Beer
Am Dienstag, 16. November 2010 schrieb luxInteg: Greetings, I am learning cmake. I have a fortran only project with some source files with f77 routines to compile, My CMakeLists.txt in the projects base directory has the following lines set(CMAKE_Fortran_COMPILER gfortran)