[CMAKE] Fortran Compiler different from ifort

2007-10-31 Thread Baptiste Derongs
Hello all, I am trying to compile some MPI Fortran programs, so the compiler is mpif90. So I took the cmake/Tests/Fortran example and just set CMAKE_Fortran_COMPILER. I tried to set it in CMakeLists.txt and directly in CMakeCache.txt. I can't make ADD_EXECUTABLE (or ADD_LIBRARY) working, it

Re: [CMAKE] Fortran Compiler different from ifort

2007-10-31 Thread Marie-Christine Vallet
Baptiste Derongs wrote: Hello all, I am trying to compile some MPI Fortran programs, so the compiler is mpif90. So I took the cmake/Tests/Fortran example and just set CMAKE_Fortran_COMPILER. I tried to set it in CMakeLists.txt and directly in CMakeCache.txt. I can't make ADD_EXECUTABLE (or