mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 12:35:04 -05:00
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>
This commit is contained in:
parent
8dc21dbb84
commit
9d1821755e
@ -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…
Reference in New Issue
Block a user