diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-09-01 14:27:41 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2015-09-01 14:43:59 -0400 |
commit | e511282d78a844af24602791cd3cab9aa6e6996d (patch) | |
tree | dba5478accde1e3c4ec92aef736889c5c54e5aa6 /src/CMakeLists.txt | |
parent | 7419504079c894dd15fd84116505b853feb44287 (diff) | |
download | minetest-e511282d78a844af24602791cd3cab9aa6e6996d.tar.gz minetest-e511282d78a844af24602791cd3cab9aa6e6996d.tar.bz2 minetest-e511282d78a844af24602791cd3cab9aa6e6996d.zip |
Warn when building without cURL
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b69c371cd..32e25c3bd 100644 --- 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) |