Skip to content
Permalink
Browse files

Enable server build when no builds are enabled

  • Loading branch information
ShadowNinja committed Sep 1, 2015
1 parent fa30a14 commit 7419504079c894dd15fd84116505b853feb44287
Showing with 6 additions and 0 deletions.
  1. +6 −0 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)

0 comments on commit 7419504

Please sign in to comment.
You can’t perform that action at this time.