mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[channels,serial] add CMake messages
Inform user about platforms that do not support serial redirection
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user