mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
Only compile SSHv1 files if enabled.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@472 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user