summaryrefslogtreecommitdiff
path: root/Modules/Platform/Darwin-NAG-Fortran.cmake
blob: 933f9e1a25325f27e88d4c39683cef00db4be7d4 (plain)
1
2
3
4
5
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>")