diff options
author | Brad King <brad.king@kitware.com> | 2019-07-09 13:34:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-09 13:34:42 (GMT) |
commit | dd1257e2de4c4dc63cf51738d85588956a02b9da (patch) | |
tree | 85ecbcae009abec3e88f2792ad2d43ec6af23499 /Modules/Compiler/IAR-CXX.cmake | |
parent | d7673a203ca41c2d05462839b818b0803b05ae1e (diff) | |
parent | c242187875303219db49089e401d62a47f79207e (diff) | |
download | CMake-dd1257e2de4c4dc63cf51738d85588956a02b9da.zip CMake-dd1257e2de4c4dc63cf51738d85588956a02b9da.tar.gz CMake-dd1257e2de4c4dc63cf51738d85588956a02b9da.tar.bz2 |
Merge branch 'iar-riscv' into release-3.15
Merge-request: !3510
Diffstat (limited to 'Modules/Compiler/IAR-CXX.cmake')
-rw-r--r-- | Modules/Compiler/IAR-CXX.cmake | 4 |
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) |