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