summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/SunPro.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-05-01 17:11:26 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-05-02 13:49:23 (GMT)
commit174c02e149ab4bcc9bc98d4e4042eb0b24e2f2ee (patch)
tree384655fec13fa7f089f582c360c846ca670c6f40 /Modules/Compiler/SunPro.cmake
parent08fa2ba8d0682e0c9c307b572afbcee05cc93477 (diff)
downloadCMake-174c02e149ab4bcc9bc98d4e4042eb0b24e2f2ee.zip
CMake-174c02e149ab4bcc9bc98d4e4042eb0b24e2f2ee.tar.gz
CMake-174c02e149ab4bcc9bc98d4e4042eb0b24e2f2ee.tar.bz2
SunPro: Use common compiler macros for language standard default
Diffstat (limited to 'Modules/Compiler/SunPro.cmake')
-rw-r--r--Modules/Compiler/SunPro.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/Compiler/SunPro.cmake b/Modules/Compiler/SunPro.cmake
new file mode 100644
index 0000000..52da39a
--- /dev/null
+++ b/Modules/Compiler/SunPro.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_SUNPRO)
+ return()
+endif()
+set(__COMPILER_SUNPRO 1)
+
+include(Compiler/CMakeCommonCompilerMacros)