summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IAR-FindBinUtils.cmake
diff options
context:
space:
mode:
authorNico Mueller <nicomueller1991@googlemail.com>2019-09-16 08:45:03 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-16 15:07:04 (GMT)
commitbd5006e8134a3ea5d949f9eedf139126af357820 (patch)
tree4e2f069c2df2f4c7c9d15fb4e4e05ac39312c2c7 /Modules/Compiler/IAR-FindBinUtils.cmake
parentbfa2eaa617de778ecfb2a0678c9898605822260d (diff)
downloadCMake-bd5006e8134a3ea5d949f9eedf139126af357820.zip
CMake-bd5006e8134a3ea5d949f9eedf139126af357820.tar.gz
CMake-bd5006e8134a3ea5d949f9eedf139126af357820.tar.bz2
IAR: Add v850 support
Add compiler identification for V850. Issue: #17264
Diffstat (limited to 'Modules/Compiler/IAR-FindBinUtils.cmake')
-rw-r--r--Modules/Compiler/IAR-FindBinUtils.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Compiler/IAR-FindBinUtils.cmake b/Modules/Compiler/IAR-FindBinUtils.cmake
index b7d4664..6258cf3 100644
--- a/Modules/Compiler/IAR-FindBinUtils.cmake
+++ b/Modules/Compiler/IAR-FindBinUtils.cmake
@@ -45,7 +45,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")
+ "${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "MSP430" OR
+ "${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "V850")
# Find the "xlink" linker and "xar" archiver:
find_program(CMAKE_IAR_LINKER xlink HINTS ${__iar_hints}