summaryrefslogtreecommitdiffstats
path: root/Modules
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
parent3b9009683884593e879191fde5448b12e970d56e (diff)
downloadCMake-f4ed56ab632000d51132bafe191137dd6012b9d6.zip
CMake-f4ed56ab632000d51132bafe191137dd6012b9d6.tar.gz
CMake-f4ed56ab632000d51132bafe191137dd6012b9d6.tar.bz2
Fix elseif() in place of else()
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/IAR-C.cmake2
-rw-r--r--Modules/FindBacktrace.cmake2
-rw-r--r--Modules/FindQt4.cmake2
3 files changed, 3 insertions, 3 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()
diff --git a/Modules/FindBacktrace.cmake b/Modules/FindBacktrace.cmake
index cf1632a..3d8ce88 100644
--- a/Modules/FindBacktrace.cmake
+++ b/Modules/FindBacktrace.cmake
@@ -74,7 +74,7 @@ else()
if(Backtrace_INCLUDE_DIR)
# OpenBSD has libbacktrace renamed to libexecinfo
find_library(Backtrace_LIBRARY "execinfo")
- elseif() # respect user wishes
+ else() # respect user wishes
set(_Backtrace_HEADER_TRY "backtrace.h")
find_path(Backtrace_INCLUDE_DIR ${_Backtrace_HEADER_TRY})
find_library(Backtrace_LIBRARY "backtrace")
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index a145b46..3993968 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -670,7 +670,7 @@ if (QT_QMAKE_EXECUTABLE AND
get_filename_component(qt_headers "${QT_QTCORE_INCLUDE_DIR}/../" ABSOLUTE)
set(QT_HEADERS_DIR "${qt_headers}" CACHE INTERNAL "" FORCE)
endif()
- elseif()
+ else()
message("Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_HEADERS as ${qt_headers}")
message("Warning: But QtCore couldn't be found. Qt must NOT be installed correctly.")
endif()