summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2016-08-04 18:46:10 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2016-08-05 13:01:43 (GMT)
commite52302d6cbee72c9d680affcf1f253bfa61f1891 (patch)
tree667045423eda055fd85be7d92da41b4e3e004674 /Modules/Compiler
parentf59513140bf086eda2029c5b4e950fc58216c06e (diff)
downloadCMake-e52302d6cbee72c9d680affcf1f253bfa61f1891.zip
CMake-e52302d6cbee72c9d680affcf1f253bfa61f1891.tar.gz
CMake-e52302d6cbee72c9d680affcf1f253bfa61f1891.tar.bz2
CrayLinuxEnvironment: Add alternative methods to get version info
Closes: #16229
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/CrayPrgEnv.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/CrayPrgEnv.cmake b/Modules/Compiler/CrayPrgEnv.cmake
index fa39b00..9f8befd 100644
--- a/Modules/Compiler/CrayPrgEnv.cmake
+++ b/Modules/Compiler/CrayPrgEnv.cmake
@@ -56,6 +56,8 @@ macro(__CrayPrgEnv_setup lang test_src compiler_cmd link_cmd)
message(STATUS "Cray Programming Environment $ENV{CRAYPE_VERSION} ${lang}")
elseif(DEFINED ENV{ASYNCPE_VERSION})
message(STATUS "Cray XT Programming Environment $ENV{ASYNCPE_VERSION} ${lang}")
+ else()
+ message(STATUS "Cray Programming Environment (unknown version) ${lang}")
endif()
# Flags for the Cray wrappers