]> git.lizzy.rs Git - minetest.git/blobdiff - src/CMakeLists.txt
Small fixes of minetest.has_feature
[minetest.git] / src / CMakeLists.txt
index b69c371cd84f055fa87f77bb387fba4680d6cb8e..32e25c3bd00639bb7043724d26ecbf4c55355942 100644 (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)