summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/CrayPrgEnv-PGI-Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/CrayPrgEnv-PGI-Fortran.cmake')
-rw-r--r--Modules/Compiler/CrayPrgEnv-PGI-Fortran.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Compiler/CrayPrgEnv-PGI-Fortran.cmake b/Modules/Compiler/CrayPrgEnv-PGI-Fortran.cmake
new file mode 100644
index 0000000..f6ba7c0
--- /dev/null
+++ b/Modules/Compiler/CrayPrgEnv-PGI-Fortran.cmake
@@ -0,0 +1,7 @@
+if(__craylinux_crayprgenv_pgi_fortran)
+ return()
+endif()
+set(__craylinux_crayprgenv_pgi_fortran 1)
+
+include(Compiler/CrayPrgEnv-Fortran)
+__CrayPrgEnv_setup_Fortran("/opt/pgi/[^ ]*/pgf" "/usr/bin/ld")