Merge pull request #10280 from akallabeth/rdpecam_option_to_disable

[channel,rdpecam] add option RDPECAM_CLIENT_CHANNEL_STUB
This commit is contained in:
Martin Fleisz 2024-06-17 13:50:57 +02:00 committed by GitHub
commit de2a59a539
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

@ -22,5 +22,8 @@ if(WITH_SERVER_CHANNELS)
endif()
if(WITH_CLIENT_CHANNELS)
add_channel_client(${MODULE_PREFIX} ${CHANNEL_NAME})
option(RDPECAM_CLIENT_CHANNEL_STUB "Only build [MS-RDPECAM] channel stub" OFF)
if (NOT RDPECAM_CLIENT_CHANNEL_STUB)
add_channel_client(${MODULE_PREFIX} ${CHANNEL_NAME})
endif()
endif()

View File

@ -1,11 +1,7 @@
set(OPTION_DEFAULT ON)
set(OPTION_SERVER_DEFAULT ON)
set(OPTION_CLIENT_DEFAULT OFF)
if (NOT IOS AND NOT ANDROID AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(OPTION_CLIENT_DEFAULT ON)
endif()
set(OPTION_SERVER_DEFAULT ON)
define_channel_options(NAME "rdpecam" TYPE "dynamic"
DESCRIPTION "Video Capture Virtual Channel Extension"