summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-07-18 17:48:34 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-07-18 17:48:49 (GMT)
commita881ae61f1e005dd64cf317a7dfcbe6ffa71d72b (patch)
tree8d1e6d7fb542fe1039b7a157a6a59175ca0ff3b1 /Modules
parent59ed19304b9ea0cf89811e2ecec58cda75f3aa3c (diff)
parent65fac2fa35530e9328986966d7c5b286188b9e79 (diff)
downloadCMake-a881ae61f1e005dd64cf317a7dfcbe6ffa71d72b.zip
CMake-a881ae61f1e005dd64cf317a7dfcbe6ffa71d72b.tar.gz
CMake-a881ae61f1e005dd64cf317a7dfcbe6ffa71d72b.tar.bz2
Merge topic 'armclang-update-version-computation' into release-3.27
65fac2fa35 ARMClang: Fix computation of compiler semantic version patch level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8636
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/ARMClang-DetermineCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/ARMClang-DetermineCompiler.cmake b/Modules/Compiler/ARMClang-DetermineCompiler.cmake
index eb0de53..7d1478c 100644
--- a/Modules/Compiler/ARMClang-DetermineCompiler.cmake
+++ b/Modules/Compiler/ARMClang-DetermineCompiler.cmake
@@ -4,7 +4,7 @@ set(_compiler_id_pp_test "defined(__clang__) && defined(__ARMCOMPILER_VERSION)")
set(_compiler_id_version_compute "
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__ARMCOMPILER_VERSION/1000000)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__ARMCOMPILER_VERSION/10000 % 100)
- # define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__ARMCOMPILER_VERSION % 10000)")
+ # define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__ARMCOMPILER_VERSION/100 % 100)")
string(APPEND _compiler_id_version_compute "
# define @PREFIX@COMPILER_VERSION_INTERNAL @MACRO_DEC@(__ARMCOMPILER_VERSION)")