From 2ee8b2cbbdae3c4ededdcb0569277525bf90888f Mon Sep 17 00:00:00 2001 From: Idan Freiberg Date: Mon, 3 Jun 2019 10:47:35 +0300 Subject: [PATCH] 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) ``` --- channels/sshagent/ChannelOptions.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/sshagent/ChannelOptions.cmake b/channels/sshagent/ChannelOptions.cmake index 99c96d0..41b5a21 100644 --- a/channels/sshagent/ChannelOptions.cmake +++ b/channels/sshagent/ChannelOptions.cmake @@ -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)" -- 2.7.4