summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompilerId.c.in
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-01-04 20:36:49 (GMT)
committerBrad King <brad.king@kitware.com>2013-04-15 13:14:35 (GMT)
commitd118b8b389b680abf5d23ed5e66eabda418b89e0 (patch)
tree450b6a7467e6c4caaf41cc507c2bf5f277e825e4 /Modules/CMakeCCompilerId.c.in
parentd33f40638dcc34a8c15b6605325446c777afd249 (diff)
downloadCMake-d118b8b389b680abf5d23ed5e66eabda418b89e0.zip
CMake-d118b8b389b680abf5d23ed5e66eabda418b89e0.tar.gz
CMake-d118b8b389b680abf5d23ed5e66eabda418b89e0.tar.bz2
Add IAR to the CMakeDetectC(XX)CompilerID.c(pp).in
With the AVR IAR compiler this can't be found, but it works e.g. for the ARM AVR compiler. Alex
Diffstat (limited to 'Modules/CMakeCCompilerId.c.in')
-rw-r--r--Modules/CMakeCCompilerId.c.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/Modules/CMakeCCompilerId.c.in b/Modules/CMakeCCompilerId.c.in
index c25df0c..66a5582 100644
--- a/Modules/CMakeCCompilerId.c.in
+++ b/Modules/CMakeCCompilerId.c.in
@@ -160,10 +160,9 @@
# define COMPILER_ID "ADSP"
/* IAR Systems compiler for embedded systems.
- http://www.iar.com
- Not supported yet by CMake
-#elif defined(__IAR_SYSTEMS_ICC__)
-# define COMPILER_ID "IAR" */
+ http://www.iar.com */
+#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
+# define COMPILER_ID "IAR"
/* sdcc, the small devices C compiler for embedded systems,
http://sdcc.sourceforge.net */