From c847e13c47c8e5a36f72f3f95dc3112b8cb84393 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 14 Apr 2009 14:33:04 +0000 Subject: Only compile SSHv1 files if enabled. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@472 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt index 338bc648..6ac0965a 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} -- cgit