summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorArtalus <artalus-mail@yandex.ru>2019-07-03 08:57:08 (GMT)
committerArtalus <artalus-mail@yandex.ru>2019-07-03 08:57:53 (GMT)
commitf4ed56ab632000d51132bafe191137dd6012b9d6 (patch)
treebd3c9be64c4ee5899b35ef09ef9b0ac357c0e0bf /Modules/Compiler
parent3b9009683884593e879191fde5448b12e970d56e (diff)
downloadCMake-f4ed56ab632000d51132bafe191137dd6012b9d6.zip
CMake-f4ed56ab632000d51132bafe191137dd6012b9d6.tar.gz
CMake-f4ed56ab632000d51132bafe191137dd6012b9d6.tar.bz2
Fix elseif() in place of else()
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 4b02a9a..2b37e25 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()