From: Kyle Edwards Date: Tue, 9 Jul 2019 14:03:06 +0000 (-0400) Subject: CMake: Convert errant elseif() to else() X-Git-Tag: curl-7_65_2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d1821755ea652becf1e1086f1bbc1398e58245c;p=curl 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 Reviewed-by: Daniel Gustafsson --- diff --git a/CMake/CurlSymbolHiding.cmake b/CMake/CurlSymbolHiding.cmake index 15ba46e46..60ee8e682 100644 --- a/CMake/CurlSymbolHiding.cmake +++ b/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()