summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-07-18 17:31:12 (GMT)
committerBrad King <brad.king@kitware.com>2023-07-18 17:31:12 (GMT)
commit0ef3b9fd76562269e79aa177ad29206a2c0f75dd (patch)
tree9367f6733fb55abc625a98044f665cda12c775eb /Modules
parent8c5905ca1cafdcc43e6996df32e145454629324b (diff)
parent65fac2fa35530e9328986966d7c5b286188b9e79 (diff)
downloadCMake-0ef3b9fd76562269e79aa177ad29206a2c0f75dd.zip
CMake-0ef3b9fd76562269e79aa177ad29206a2c0f75dd.tar.gz
CMake-0ef3b9fd76562269e79aa177ad29206a2c0f75dd.tar.bz2
Merge branch 'armclang-update-version-computation' into release-3.26
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)")