summaryrefslogtreecommitdiffstats
path: root/Modules/CMakePlatformId.h.in
diff options
context:
space:
mode:
authorStefan Andersson <tfosm@hotmail.com>2019-07-03 12:52:39 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-08 17:11:45 (GMT)
commitc242187875303219db49089e401d62a47f79207e (patch)
tree63a86ff4df6c1811446dd624108d019167b55465 /Modules/CMakePlatformId.h.in
parent753373579e3dd8cf19f0fc18f4d9bec43a2d82e8 (diff)
downloadCMake-c242187875303219db49089e401d62a47f79207e.zip
CMake-c242187875303219db49089e401d62a47f79207e.tar.gz
CMake-c242187875303219db49089e401d62a47f79207e.tar.bz2
IAR: Add support for the RISC-V compiler
Diffstat (limited to 'Modules/CMakePlatformId.h.in')
-rw-r--r--Modules/CMakePlatformId.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in
index 8f5747a..542a6fe 100644
--- a/Modules/CMakePlatformId.h.in
+++ b/Modules/CMakePlatformId.h.in
@@ -165,6 +165,9 @@
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
+# elif defined(__ICCRISCV__)
+# define ARCHITECTURE_ID "RISCV"
+
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"