summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/CrayPrgEnv-C.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/CrayPrgEnv-C.cmake')
-rw-r--r--Modules/Compiler/CrayPrgEnv-C.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/Compiler/CrayPrgEnv-C.cmake b/Modules/Compiler/CrayPrgEnv-C.cmake
new file mode 100644
index 0000000..6b461ce
--- /dev/null
+++ b/Modules/Compiler/CrayPrgEnv-C.cmake
@@ -0,0 +1,11 @@
+if(__craylinux_crayprgenv_c)
+ return()
+endif()
+set(__craylinux_crayprgenv_c 1)
+
+include(Compiler/CrayPrgEnv)
+macro(__CrayPrgEnv_setup_C compiler_cmd link_cmd)
+ __CrayPrgEnv_setup(C
+ ${CMAKE_ROOT}/Modules/CMakeCCompilerABI.c
+ ${compiler_cmd} ${link_cmd})
+endmacro()