mirror of
https://github.com/minetest/minetest.git
synced 2024-11-10 01:33:46 +01:00
Enable server build when no builds are enabled
This commit is contained in:
parent
fa30a14c5c
commit
7419504079
@ -27,6 +27,12 @@ set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING
|
|||||||
mark_as_advanced(EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH)
|
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)
|
option(ENABLE_CURL "Enable cURL support for fetching media" TRUE)
|
||||||
set(USE_CURL FALSE)
|
set(USE_CURL FALSE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user