projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7419504
)
Warn when building without cURL
author
ShadowNinja
<shadowninja@minetest.net>
Tue, 1 Sep 2015 18:27:41 +0000
(14:27 -0400)
committer
ShadowNinja
<shadowninja@minetest.net>
Tue, 1 Sep 2015 18:43:59 +0000
(14:43 -0400)
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index b69c371cd84f055fa87f77bb387fba4680d6cb8e..32e25c3bd00639bb7043724d26ecbf4c55355942 100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-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)