Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Warn when building without cURL
  • Loading branch information
ShadowNinja committed Sep 1, 2015
1 parent 7419504 commit e511282
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit e511282

Please sign in to comment.