53e76c8f12
The Cray Fortran compiler needs "-em" to enable module output and also "-J." to place the .mod files in the current working directory (instead of next to the .o file).
5 lines
142 B
CMake
5 lines
142 B
CMake
set(CMAKE_Fortran_VERBOSE_FLAG "-v")
|
|
set(CMAKE_Fortran_MODOUT_FLAG -em)
|
|
set(CMAKE_Fortran_MODDIR_FLAG -J)
|
|
set(CMAKE_Fortran_MODDIR_DEFAULT .)
|