mirror of
https://github.com/reactos/CMake.git
synced 2025-02-17 01:58:25 +00:00
Fix elseif() in place of else()
This commit is contained in:
parent
3b90096838
commit
f4ed56ab63
@ -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()
|
||||
|
@ -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")
|
||||
|
@ -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()
|
||||
|
@ -25,7 +25,7 @@ foreach(i 1 2)
|
||||
if(line MATCHES "^ *<PackageReference .* Version=\"${testVersion}\".*>$")
|
||||
set(Library${i}Found TRUE)
|
||||
message(STATUS "foo.vcxproj is using package reference ${testLibrary} with version ${testVersion}")
|
||||
elseif()
|
||||
else()
|
||||
message(STATUS "foo.vcxproj failed to define reference ${testLibrary} with version ${testVersion}")
|
||||
set(Library${i}Found FALSE)
|
||||
endif()
|
||||
|
@ -53,7 +53,7 @@ elseif(MSVC)
|
||||
message(WARNING "Hiding private symbols regardless CURL_HIDDEN_SYMBOLS being disabled.")
|
||||
set(HIDES_CURL_PRIVATE_SYMBOLS TRUE)
|
||||
endif()
|
||||
elseif()
|
||||
else()
|
||||
set(HIDES_CURL_PRIVATE_SYMBOLS FALSE)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user