summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineASMCompiler.cmake
diff options
context:
space:
mode:
authorJohan Stridkvist <battletwixx@gmail.com>2019-05-13 13:05:47 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-14 18:59:55 (GMT)
commit7b0abaac318b080d9d9044a2665541b840087c89 (patch)
tree622d5a7af0c1e75647d8846524d0fc93ed34c1b3 /Modules/CMakeDetermineASMCompiler.cmake
parenta8f1527ba46b31c5583999391c05421eb86f4973 (diff)
downloadCMake-7b0abaac318b080d9d9044a2665541b840087c89.zip
CMake-7b0abaac318b080d9d9044a2665541b840087c89.tar.gz
CMake-7b0abaac318b080d9d9044a2665541b840087c89.tar.bz2
ARMClang: Add support for Clang-based ARM compiler
Fixes: #18215
Diffstat (limited to 'Modules/CMakeDetermineASMCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineASMCompiler.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineASMCompiler.cmake b/Modules/CMakeDetermineASMCompiler.cmake
index eabb8b5..fb005ff 100644
--- a/Modules/CMakeDetermineASMCompiler.cmake
+++ b/Modules/CMakeDetermineASMCompiler.cmake
@@ -66,6 +66,10 @@ if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID)
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_AppleClang "--version")
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_AppleClang "(Apple LLVM version)")
+ list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS ARMClang )
+ set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_ARMClang "--version")
+ set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_ARMClang "armclang")
+
list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS HP )
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_HP "-V")
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_HP "HP C")