mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[channels,serial] add CMake messages
Inform user about platforms that do not support serial redirection
This commit is contained in:
parent
1ec18ce827
commit
387dabc4dd
@ -6,16 +6,19 @@ set(OPTION_SERVER_DEFAULT OFF)
|
||||
if(WIN32)
|
||||
set(OPTION_CLIENT_DEFAULT OFF)
|
||||
set(OPTION_SERVER_DEFAULT OFF)
|
||||
message("Serial redirection not supported on windows")
|
||||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
set(OPTION_CLIENT_DEFAULT OFF)
|
||||
set(OPTION_SERVER_DEFAULT OFF)
|
||||
message("Serial redirection not supported on android")
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
set(OPTION_CLIENT_DEFAULT OFF)
|
||||
set(OPTION_SERVER_DEFAULT OFF)
|
||||
message("Serial redirection not supported on apple")
|
||||
endif()
|
||||
|
||||
define_channel_options(NAME "serial" TYPE "device"
|
||||
|
Loading…
Reference in New Issue
Block a user