summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Cray.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-05-01 13:10:14 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-05-01 19:15:30 (GMT)
commitdaae564d87044950edece389f09bde423e6ad867 (patch)
treebeac44d1a0fbb7252f1c65734ad8346b13f4ee92 /Modules/Compiler/Cray.cmake
parent25e83ce580d7e6821a07198ce13338a82b966c0b (diff)
downloadCMake-daae564d87044950edece389f09bde423e6ad867.zip
CMake-daae564d87044950edece389f09bde423e6ad867.tar.gz
CMake-daae564d87044950edece389f09bde423e6ad867.tar.bz2
Cray: Add language standards for the Cray compiler
Diffstat (limited to 'Modules/Compiler/Cray.cmake')
-rw-r--r--Modules/Compiler/Cray.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/Compiler/Cray.cmake b/Modules/Compiler/Cray.cmake
new file mode 100644
index 0000000..8fe8eeb
--- /dev/null
+++ b/Modules/Compiler/Cray.cmake
@@ -0,0 +1,10 @@
+# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+# file Copyright.txt or https://cmake.org/licensing for details.
+
+# This module is shared by multiple languages; use include blocker.
+if(__COMPILER_CRAY)
+ return()
+endif()
+set(__COMPILER_CRAY 1)
+
+include(Compiler/CMakeCommonCompilerMacros)