Change ENABLE_{CLIENT,SERVER} to WITH_{CLIENT,SERVER}.

This commit is contained in:
Mike Gilbert 2012-01-22 12:26:30 -05:00
parent 3c61b381c6
commit ff10a65c8e

View File

@ -163,13 +163,13 @@ if(NOT WIN32)
add_subdirectory(channels)
endif()
option(ENABLE_CLIENT "Build client binaries" ON)
if(ENABLE_CLIENT)
option(WITH_CLIENT "Build client binaries" ON)
if(WITH_CLIENT)
add_subdirectory(client)
endif()
option(ENABLE_SERVER "Build server binaries" OFF)
if(ENABLE_SERVER)
option(WITH_SERVER "Build server binaries" OFF)
if(WITH_SERVER)
add_subdirectory(server)
endif()