From 9d1821755ea652becf1e1086f1bbc1398e58245c Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Tue, 9 Jul 2019 10:03:06 -0400 Subject: [PATCH] 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 --- CMake/CurlSymbolHiding.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()