From b3810e3b8595411a145d68015141dff979363de6 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 17 Jun 2024 13:13:07 +0200 Subject: [PATCH] [channel,rdpecam] add option RDPECAM_CLIENT_CHANNEL_STUB this allows building FreeRDP with only a stubbed [MS-RDPECAM] channel --- channels/rdpecam/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/channels/rdpecam/CMakeLists.txt b/channels/rdpecam/CMakeLists.txt index 220d5869c..1df57afc3 100644 --- a/channels/rdpecam/CMakeLists.txt +++ b/channels/rdpecam/CMakeLists.txt @@ -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()