summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-10 13:26:30 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-07-10 13:26:39 (GMT)
commit4fc10431f06a07cd7ac1fafa7f3a8e633bea204c (patch)
tree7766266572594cf0b458b4d630640b5c06f3f3b7 /Modules/Compiler
parentfe8f6e362a42ae621dc0f6fd73e86eee307ce23b (diff)
parentf4ed56ab632000d51132bafe191137dd6012b9d6 (diff)
downloadCMake-4fc10431f06a07cd7ac1fafa7f3a8e633bea204c.zip
CMake-4fc10431f06a07cd7ac1fafa7f3a8e633bea204c.tar.gz
CMake-4fc10431f06a07cd7ac1fafa7f3a8e633bea204c.tar.bz2
Merge topic 'elseif'
f4ed56ab63 Fix elseif() in place of else() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !3515
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/IAR-C.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/IAR-C.cmake b/Modules/Compiler/IAR-C.cmake
index 18a4a75..e03ce3f 100644
--- a/Modules/Compiler/IAR-C.cmake
+++ b/Modules/Compiler/IAR-C.cmake
@@ -15,7 +15,7 @@ if(CMAKE_C_COMPILER_VERSION_INTERNAL VERSION_GREATER 7)
set(CMAKE_C90_EXTENSION_COMPILE_OPTION --c89 -e)
set(CMAKE_C99_STANDARD_COMPILE_OPTION "")
set(CMAKE_C99_EXTENSION_COMPILE_OPTION -e)
-elseif()
+else()
set(CMAKE_C90_STANDARD_COMPILE_OPTION "")
set(CMAKE_C90_EXTENSION_COMPILE_OPTION -e)
endif()