mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
CMake v3.5.1 throws the following error if this is not set:
```
CMake Error at channels/CMakeLists.txt:48 (if):
if given arguments:
"OFF" "OR"
Unknown arguments specified
Call Stack (most recent call first):
channels/sshagent/ChannelOptions.cmake:6 (define_channel_options)
channels/CMakeLists.txt:273 (include)
```
13 lines
298 B
CMake
13 lines
298 B
CMake
|
|
set(OPTION_DEFAULT OFF)
|
|
set(OPTION_CLIENT_DEFAULT OFF)
|
|
set(OPTION_SERVER_DEFAULT OFF)
|
|
|
|
define_channel_options(NAME "sshagent" TYPE "dynamic"
|
|
DESCRIPTION "SSH Agent Forwarding (experimental)"
|
|
SPECIFICATIONS ""
|
|
DEFAULT ${OPTION_DEFAULT})
|
|
|
|
define_channel_client_options(${OPTION_CLIENT_DEFAULT})
|
|
|