[channel,rdpecam] add option RDPECAM_CLIENT_CHANNEL_STUB

this allows building FreeRDP with only a stubbed [MS-RDPECAM] channel
This commit is contained in:
akallabeth 2024-06-17 13:13:07 +02:00
parent 561d2b32c6
commit b3810e3b85
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -22,5 +22,8 @@ if(WITH_SERVER_CHANNELS)
endif() endif()
if(WITH_CLIENT_CHANNELS) 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() endif()