diff options
author | Micael Borgefeldt <micael.borgefeldt@iar.com> | 2019-10-11 12:51:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-11 14:22:52 (GMT) |
commit | 5652e11ea1543a9d3038bf104607bf13feb5582a (patch) | |
tree | c870154eabc4bef527b13212bcd05e969dc9f02f /Modules/Compiler/IAR-FindBinUtils.cmake | |
parent | 6e51db9a40cda01907322da384a84bf5c4237231 (diff) | |
download | CMake-5652e11ea1543a9d3038bf104607bf13feb5582a.zip CMake-5652e11ea1543a9d3038bf104607bf13feb5582a.tar.gz CMake-5652e11ea1543a9d3038bf104607bf13feb5582a.tar.bz2 |
IAR: Add 8051 support
Issue: #17264
Diffstat (limited to 'Modules/Compiler/IAR-FindBinUtils.cmake')
-rw-r--r-- | Modules/Compiler/IAR-FindBinUtils.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Compiler/IAR-FindBinUtils.cmake b/Modules/Compiler/IAR-FindBinUtils.cmake index 6258cf3..6ef3759 100644 --- a/Modules/Compiler/IAR-FindBinUtils.cmake +++ b/Modules/Compiler/IAR-FindBinUtils.cmake @@ -46,7 +46,8 @@ set(CMAKE_IAR_LINKER \"${CMAKE_IAR_LINKER}\") elseif("${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR" OR "${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "MSP430" OR - "${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "V850") + "${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "V850" OR + "${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "8051") # Find the "xlink" linker and "xar" archiver: find_program(CMAKE_IAR_LINKER xlink HINTS ${__iar_hints} |