cmake/Modules/Platform/Darwin-NAG-Fortran.cmake

6 lines
234 B
CMake
Raw Normal View History

2011-01-16 11:35:12 +01:00
set(CMAKE_Fortran_VERBOSE_FLAG "-Wl,-v") # Runs gcc under the hood.
# Need -fpp explicitly on case-insensitive filesystem.
set(CMAKE_Fortran_COMPILE_OBJECT
"<CMAKE_Fortran_COMPILER> -fpp -o <OBJECT> <DEFINES> <FLAGS> -c <SOURCE>")