channels: disable certain channels by default on Android

This commit is contained in:
Marc-André Moreau 2012-10-22 15:03:38 -04:00
parent 024ade069e
commit a79e913e6d
4 changed files with 20 additions and 0 deletions

View File

@ -3,6 +3,11 @@ set(OPTION_DEFAULT OFF)
set(OPTION_CLIENT_DEFAULT ON) set(OPTION_CLIENT_DEFAULT ON)
set(OPTION_SERVER_DEFAULT ON) set(OPTION_SERVER_DEFAULT ON)
if(ANDROID)
set(OPTION_CLIENT_DEFAULT OFF)
set(OPTION_SERVER_DEFAULT OFF)
endif()
if(${OPTION_CLIENT_DEFAULT} OR ${OPTION_SERVER_DEFAULT}) if(${OPTION_CLIENT_DEFAULT} OR ${OPTION_SERVER_DEFAULT})
set(OPTION_DEFAULT ON) set(OPTION_DEFAULT ON)
endif() endif()

View File

@ -8,6 +8,11 @@ if(WIN32)
set(OPTION_SERVER_DEFAULT OFF) set(OPTION_SERVER_DEFAULT OFF)
endif() endif()
if(ANDROID)
set(OPTION_CLIENT_DEFAULT OFF)
set(OPTION_SERVER_DEFAULT OFF)
endif()
if(${OPTION_CLIENT_DEFAULT} OR ${OPTION_SERVER_DEFAULT}) if(${OPTION_CLIENT_DEFAULT} OR ${OPTION_SERVER_DEFAULT})
set(OPTION_DEFAULT ON) set(OPTION_DEFAULT ON)
endif() endif()

View File

@ -8,6 +8,11 @@ if(WIN32)
set(OPTION_SERVER_DEFAULT OFF) set(OPTION_SERVER_DEFAULT OFF)
endif() endif()
if(ANDROID)
set(OPTION_CLIENT_DEFAULT OFF)
set(OPTION_SERVER_DEFAULT OFF)
endif()
if(${OPTION_CLIENT_DEFAULT} OR ${OPTION_SERVER_DEFAULT}) if(${OPTION_CLIENT_DEFAULT} OR ${OPTION_SERVER_DEFAULT})
set(OPTION_DEFAULT ON) set(OPTION_DEFAULT ON)
endif() endif()

View File

@ -8,6 +8,11 @@ if(WIN32)
set(OPTION_SERVER_DEFAULT OFF) set(OPTION_SERVER_DEFAULT OFF)
endif() endif()
if(ANDROID)
set(OPTION_CLIENT_DEFAULT OFF)
set(OPTION_SERVER_DEFAULT OFF)
endif()
if(${OPTION_CLIENT_DEFAULT} OR ${OPTION_SERVER_DEFAULT}) if(${OPTION_CLIENT_DEFAULT} OR ${OPTION_SERVER_DEFAULT})
set(OPTION_DEFAULT ON) set(OPTION_DEFAULT ON)
endif() endif()