summaryrefslogtreecommitdiff
path: root/Modules/Compiler/CrayPrgEnv-Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/CrayPrgEnv-Fortran.cmake')
-rw-r--r--Modules/Compiler/CrayPrgEnv-Fortran.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/Compiler/CrayPrgEnv-Fortran.cmake b/Modules/Compiler/CrayPrgEnv-Fortran.cmake
new file mode 100644
index 000000000..9c4d2694a
--- /dev/null
+++ b/Modules/Compiler/CrayPrgEnv-Fortran.cmake
@@ -0,0 +1,11 @@
+if(__craylinux_crayprgenv_fortran)
+ return()
+endif()
+set(__craylinux_crayprgenv_fortran 1)
+
+include(Compiler/CrayPrgEnv)
+macro(__CrayPrgEnv_setup_Fortran compiler_cmd link_cmd)
+ __CrayPrgEnv_setup(Fortran
+ ${CMAKE_ROOT}/Modules/CMakeFortranCompilerABI.F
+ ${compiler_cmd} ${link_cmd})
+endmacro()