mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +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
|
set(libssh_SRCS
|
||||||
agent.c
|
agent.c
|
||||||
auth1.c
|
|
||||||
auth.c
|
auth.c
|
||||||
base64.c
|
base64.c
|
||||||
buffer.c
|
buffer.c
|
||||||
channels1.c
|
|
||||||
channels.c
|
channels.c
|
||||||
client.c
|
client.c
|
||||||
connect.c
|
connect.c
|
||||||
@@ -94,6 +92,14 @@ set(libssh_SRCS
|
|||||||
wrapper.c
|
wrapper.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (WITH_SSH1)
|
||||||
|
set(libssh_SRCS
|
||||||
|
${libssh_SRCS}
|
||||||
|
auth1.c
|
||||||
|
channels1.c
|
||||||
|
)
|
||||||
|
endif (WITH_SERVER)
|
||||||
|
|
||||||
if (WITH_SERVER)
|
if (WITH_SERVER)
|
||||||
set(libssh_SRCS
|
set(libssh_SRCS
|
||||||
${libssh_SRCS}
|
${libssh_SRCS}
|
||||||
|
|||||||
Reference in New Issue
Block a user