Fix compilation of the server with option turned off.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@294 7dcaeef0-15fb-0310-b436-a5af3365683c
Этот коммит содержится в:
родитель
e02a6e0225
Коммит
78b6e25ede
@ -8,6 +8,13 @@ set(libssh_HDRS
|
|||||||
ssh2.h
|
ssh2.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (WITH_SERVER)
|
||||||
|
set(libssh_HDRS
|
||||||
|
${libssh_HDRS}
|
||||||
|
server.h
|
||||||
|
)
|
||||||
|
endif (WITH_SERVER)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
${libssh_HDRS}
|
${libssh_HDRS}
|
||||||
@ -17,18 +24,3 @@ install(
|
|||||||
headers
|
headers
|
||||||
)
|
)
|
||||||
|
|
||||||
if (WITH_SERVER)
|
|
||||||
set(server_HDRS
|
|
||||||
server.h
|
|
||||||
)
|
|
||||||
|
|
||||||
install(
|
|
||||||
FILES
|
|
||||||
${server_HDRS}
|
|
||||||
DESTINATION
|
|
||||||
${INCLUDE_INSTALL_DIR}/${APPLICATION_NAME}
|
|
||||||
COMPONENT
|
|
||||||
libraries
|
|
||||||
)
|
|
||||||
endif (WITH_SERVER)
|
|
||||||
|
|
||||||
|
@ -89,7 +89,6 @@ set(libssh_SRCS
|
|||||||
misc.c
|
misc.c
|
||||||
options.c
|
options.c
|
||||||
packet.c
|
packet.c
|
||||||
server.c
|
|
||||||
session.c
|
session.c
|
||||||
sftp.c
|
sftp.c
|
||||||
sftpserver.c
|
sftpserver.c
|
||||||
@ -98,6 +97,13 @@ set(libssh_SRCS
|
|||||||
wrapper.c
|
wrapper.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (WITH_SERVER)
|
||||||
|
set(libssh_SRCS
|
||||||
|
${libssh_SRCS}
|
||||||
|
server.c
|
||||||
|
)
|
||||||
|
endif (WITH_SERVER)
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${LIBSSH_PUBLIC_INCLUDE_DIRS}
|
${LIBSSH_PUBLIC_INCLUDE_DIRS}
|
||||||
${LIBSSH_PRIVATE_INCLUDE_DIRS}
|
${LIBSSH_PRIVATE_INCLUDE_DIRS}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user