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()