diff options
Diffstat (limited to 'libssh')
| -rw-r--r-- | libssh/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt index 9c78d0d7..a62ec06f 100644 --- a/libssh/CMakeLists.txt +++ b/libssh/CMakeLists.txt @@ -89,7 +89,6 @@ set(libssh_SRCS misc.c options.c packet.c - server.c session.c sftp.c sftpserver.c @@ -98,6 +97,13 @@ set(libssh_SRCS wrapper.c ) +if (WITH_SERVER) + set(libssh_SRCS + ${libssh_SRCS} + server.c + ) +endif (WITH_SERVER) + include_directories( ${LIBSSH_PUBLIC_INCLUDE_DIRS} ${LIBSSH_PRIVATE_INCLUDE_DIRS} |
