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.

Closes #4101
Reported-by: Artalus <artalus-mail@yandex.ru>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
  • Loading branch information...
KyleFromKitware authored and danielgustafsson committed Jul 9, 2019
1 parent 8dc21db commit 9d1821755ea652becf1e1086f1bbc1398e58245c
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 9d18217

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