summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IAR-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-09 13:34:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-07-09 13:35:01 (GMT)
commit45030c5a24b890ef8e4baa2da16f82ca1ebab877 (patch)
tree257c75c0fe8c84e3de18098933ab989be4340a27 /Modules/Compiler/IAR-CXX.cmake
parente73893ea32d295eb091b40a339ceff7d19c0f3f3 (diff)
parentc242187875303219db49089e401d62a47f79207e (diff)
downloadCMake-45030c5a24b890ef8e4baa2da16f82ca1ebab877.zip
CMake-45030c5a24b890ef8e4baa2da16f82ca1ebab877.tar.gz
CMake-45030c5a24b890ef8e4baa2da16f82ca1ebab877.tar.bz2
Merge topic 'iar-riscv'
c242187875 IAR: Add support for the RISC-V compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3510
Diffstat (limited to 'Modules/Compiler/IAR-CXX.cmake')
-rw-r--r--Modules/Compiler/IAR-CXX.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Compiler/IAR-CXX.cmake b/Modules/Compiler/IAR-CXX.cmake
index 22ec118..e8f1142 100644
--- a/Modules/Compiler/IAR-CXX.cmake
+++ b/Modules/Compiler/IAR-CXX.cmake
@@ -55,6 +55,10 @@ elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "RL78")
__compiler_iar_ilink(CXX)
__compiler_check_default_language_standard(CXX 1.10 98 4.10 14)
+elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "RISCV")
+ __compiler_iar_ilink(CXX)
+ __compiler_check_default_language_standard(CXX 1.10 98 1.10 14)
+
elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR")
__compiler_iar_xlink(CXX)
__compiler_check_default_language_standard(CXX 7.10 98)