diff options
author | Anton Danielsson <danielsson.anton@gmail.com> | 2018-01-30 09:05:09 (GMT) |
---|---|---|
committer | Anton Danielsson <danielsson.anton@gmail.com> | 2018-01-30 09:06:01 (GMT) |
commit | f83330ed6cefc8ff6332db6bc9aca30b8c12c3e9 (patch) | |
tree | 1165c6f710487fb814c66225dbb1f65a622b04a3 /Modules/CMakeDetermineASMCompiler.cmake | |
parent | c6312835d5813fadf7dc818878d6c824bfece44b (diff) | |
download | CMake-f83330ed6cefc8ff6332db6bc9aca30b8c12c3e9.zip CMake-f83330ed6cefc8ff6332db6bc9aca30b8c12c3e9.tar.gz CMake-f83330ed6cefc8ff6332db6bc9aca30b8c12c3e9.tar.bz2 |
ASM: ADSP assembler identification
Add support to identify the ADSP (Analog Devices) assembler
in CMakeDetermineASMCompiler.
Fixes: #17695
Diffstat (limited to 'Modules/CMakeDetermineASMCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineASMCompiler.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineASMCompiler.cmake b/Modules/CMakeDetermineASMCompiler.cmake index ed8f598..24048ed 100644 --- a/Modules/CMakeDetermineASMCompiler.cmake +++ b/Modules/CMakeDetermineASMCompiler.cmake @@ -100,6 +100,10 @@ if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_YASM "--version") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_YASM "(yasm)") + list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS ADSP) + set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_ADSP "-version") + set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_ADSP "Analog Devices") + include(CMakeDetermineCompilerId) set(userflags) CMAKE_DETERMINE_COMPILER_ID_VENDOR(ASM${ASM_DIALECT} "${userflags}") |