Commit 0f096b8d authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'cmp0054-asm-warning'

336c4fc6 CMakeDetermineASMCompiler: fix a CMP0054 warning
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1057
parents 688b1c11 336c4fc6
Pipeline #64867 failed with stage
in 0 seconds
...@@ -103,7 +103,7 @@ if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) ...@@ -103,7 +103,7 @@ if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID)
include(CMakeDetermineCompilerId) include(CMakeDetermineCompilerId)
set(userflags) set(userflags)
CMAKE_DETERMINE_COMPILER_ID_VENDOR(ASM${ASM_DIALECT} "${userflags}") CMAKE_DETERMINE_COMPILER_ID_VENDOR(ASM${ASM_DIALECT} "${userflags}")
if("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ID}" STREQUAL "IAR") if("x${CMAKE_ASM${ASM_DIALECT}_COMPILER_ID}" STREQUAL "xIAR")
# primary necessary to detect architecture, so the right archiver and linker can be picked # primary necessary to detect architecture, so the right archiver and linker can be picked
# eg. IAR Assembler V8.10.1.12857/W32 for ARM # eg. IAR Assembler V8.10.1.12857/W32 for ARM
# Cut out identification first, newline handling is a pain # Cut out identification first, newline handling is a pain
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment