Change ENABLE_{CLIENT,SERVER} to WITH_{CLIENT,SERVER}.
This commit is contained in:
parent
3c61b381c6
commit
ff10a65c8e
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user