summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorJustin Cook <jcook@cray.com>2015-07-30 15:57:10 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2015-07-30 15:57:10 (GMT)
commit22809b1665dd2b561fda280d486d099bad6ac877 (patch)
tree9c96aef949b0170317254b59907ba7f28963c751 /Modules/Compiler
parenta8c3698526cfa11c61d9dfd8c0f9fa8d2c7ff10a (diff)
downloadCMake-22809b1665dd2b561fda280d486d099bad6ac877.zip
CMake-22809b1665dd2b561fda280d486d099bad6ac877.tar.gz
CMake-22809b1665dd2b561fda280d486d099bad6ac877.tar.bz2
Cray: Fix compiler version detection (#15664)
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/Cray-DetermineCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Cray-DetermineCompiler.cmake b/Modules/Compiler/Cray-DetermineCompiler.cmake
index 881b82c..6602294 100644
--- a/Modules/Compiler/Cray-DetermineCompiler.cmake
+++ b/Modules/Compiler/Cray-DetermineCompiler.cmake
@@ -2,5 +2,5 @@
set(_compiler_id_pp_test "defined(_CRAYC)")
set(_compiler_id_version_compute "
-# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(_RELEASE)
+# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(_RELEASE_MAJOR)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(_RELEASE_MINOR)")