mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-05 04:40:31 +09:00
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
This commit is contained in:
@@ -8,6 +8,13 @@ set(libssh_HDRS
|
||||
ssh2.h
|
||||
)
|
||||
|
||||
if (WITH_SERVER)
|
||||
set(libssh_HDRS
|
||||
${libssh_HDRS}
|
||||
server.h
|
||||
)
|
||||
endif (WITH_SERVER)
|
||||
|
||||
install(
|
||||
FILES
|
||||
${libssh_HDRS}
|
||||
@@ -17,18 +24,3 @@ install(
|
||||
headers
|
||||
)
|
||||
|
||||
if (WITH_SERVER)
|
||||
set(server_HDRS
|
||||
server.h
|
||||
)
|
||||
|
||||
install(
|
||||
FILES
|
||||
${server_HDRS}
|
||||
DESTINATION
|
||||
${INCLUDE_INSTALL_DIR}/${APPLICATION_NAME}
|
||||
COMPONENT
|
||||
libraries
|
||||
)
|
||||
endif (WITH_SERVER)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user