summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libssh/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt
index 338bc64..6ac0965 100644
--- a/libssh/CMakeLists.txt
+++ b/libssh/CMakeLists.txt
@@ -62,11 +62,9 @@ endif (GCRYPT_LIBRARY)
set(libssh_SRCS
agent.c
- auth1.c
auth.c
base64.c
buffer.c
- channels1.c
channels.c
client.c
connect.c
@@ -94,6 +92,14 @@ set(libssh_SRCS
wrapper.c
)
+if (WITH_SSH1)
+ set(libssh_SRCS
+ ${libssh_SRCS}
+ auth1.c
+ channels1.c
+ )
+endif (WITH_SERVER)
+
if (WITH_SERVER)
set(libssh_SRCS
${libssh_SRCS}