1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-10 06:23:01 +03:00

Build the pcap source only if enabled.

This commit is contained in:
Andreas Schneider
2009-11-19 09:33:06 +01:00
parent b00e2ad40e
commit d1c6fa9261

View File

@@ -93,7 +93,6 @@ set(libssh_SRCS
misc.c
options.c
packet.c
pcap.c
poll.c
session.c
scp.c
@@ -102,6 +101,14 @@ set(libssh_SRCS
wrapper.c
)
if (WITH_PCAP)
set(libssh_SRCS
${libssh_SRCS}
pcap.c
)
endif (WITH_PCAP)
if (WITH_SFTP)
set(libssh_SRCS
${libssh_SRCS}