Skip to content
Permalink
Browse files

CMake: Convert errant elseif() to else()

CMake interprets an elseif() with no arguments as elseif(FALSE),
resulting in the elseif() block not being executed. That is not what
was intended here. Change the empty elseif() to an else() as it was
intended.

Reported-by: Artalus <artalus-mail@yandex.ru>
  • Loading branch information...
KyleFromKitware committed Jul 9, 2019
1 parent 5fecc4d commit 0b6a32567543941dae98286c6fbf240fe1f8a3be
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMake/CurlSymbolHiding.cmake
@@ -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()

0 comments on commit 0b6a325

Please sign in to comment.
You can’t perform that action at this time.