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:
fa30a14
)
Enable server build when no builds are enabled
author
ShadowNinja
<shadowninja@minetest.net>
Tue, 1 Sep 2015 18:26:15 +0000
(14:26 -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 2d52de68b48e890aed5415c30eb7040fe5d600b3..b69c371cd84f055fa87f77bb387fba4680d6cb8e 100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-27,6
+27,12
@@
set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING
mark_as_advanced(EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH)
+if(NOT (BUILD_CLIENT OR BUILD_SERVER))
+ message(WARNING "Neither BUILD_CLIENT nor BUILD_SERVER is set! Setting BUILD_SERVER=true")
+ set(BUILD_SERVER TRUE)
+endif()
+
+
option(ENABLE_CURL "Enable cURL support for fetching media" TRUE)
set(USE_CURL FALSE)