1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-22 23:58:48 -05:00

Warn when building without cURL

This commit is contained in:
ShadowNinja 2015-09-01 14:27:41 -04:00
parent 7419504079
commit e511282d78

View File

@ -46,6 +46,15 @@ else()
mark_as_advanced(CLEAR CURL_LIBRARY CURL_INCLUDE_DIR)
endif()
if(NOT USE_CURL)
if(BUILD_CLIENT)
message(WARNING "cURL is required to load the server list")
endif()
if(BUILD_SERVER)
message(WARNING "cURL is required to announce to the server list")
endif()
endif()
option(ENABLE_GETTEXT "Use GetText for internationalization" FALSE)
set(USE_GETTEXT FALSE)