mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] fix define_channel_options
* fix usage of default value * fix defaults of channels * unify to single CMake function define_channel_options
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
set(OPTION_DEFAULT OFF)
|
||||
set(OPTION_DEFAULT ON)
|
||||
set(OPTION_CLIENT_DEFAULT ON)
|
||||
set(OPTION_SERVER_DEFAULT OFF)
|
||||
|
||||
@@ -13,6 +13,8 @@ define_channel_options(
|
||||
"[MS-RDPEGT]"
|
||||
DEFAULT
|
||||
${OPTION_DEFAULT}
|
||||
CLIENT_DEFAULT
|
||||
${OPTION_CLIENT_DEFAULT}
|
||||
SERVER_DEFAULT
|
||||
${OPTION_SERVER_DEFAULT}
|
||||
)
|
||||
|
||||
define_channel_client_options(${OPTION_CLIENT_DEFAULT})
|
||||
|
||||
Reference in New Issue
Block a user