channels: ssh-agnet: cmake: turn off server side channel by default in `ChannelsOptions.cmake` (#5420)

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)
```
This commit is contained in:
Idan Freiberg 2019-06-03 10:47:35 +03:00 committed by akallabeth
parent 1f5ded4611
commit 2ee8b2cbbd
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
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)"