diff options
author | Maikel van den Hurk <maikel.vandenhurk@tomtom.com> | 2019-02-25 07:28:47 (GMT) |
---|---|---|
committer | Maikel van den Hurk <maikel.vandenhurk@tomtom.com> | 2019-02-25 07:28:47 (GMT) |
commit | be87ce43f009b3baed3afd6b024bc05bb070b7de (patch) | |
tree | 2f615d3ffe97e65954627aaf1e52388e71c9e57a /Modules/CMakeDetermineASMCompiler.cmake | |
parent | f725750f040c3649d51af1543c03cf6c45307c12 (diff) | |
download | CMake-be87ce43f009b3baed3afd6b024bc05bb070b7de.zip CMake-be87ce43f009b3baed3afd6b024bc05bb070b7de.tar.gz CMake-be87ce43f009b3baed3afd6b024bc05bb070b7de.tar.bz2 |
Add ASM Compiler detection for QCC
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 dbc41c8..86928fa 100644 --- a/Modules/CMakeDetermineASMCompiler.cmake +++ b/Modules/CMakeDetermineASMCompiler.cmake @@ -110,6 +110,10 @@ if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_ADSP "-version") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_ADSP "Analog Devices") + list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS QCC) + set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_QCC "-V") + set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_QCC "gcc_nto") + include(CMakeDetermineCompilerId) set(userflags) CMAKE_DETERMINE_COMPILER_ID_VENDOR(ASM${ASM_DIALECT} "${userflags}") |