mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
40 lines
479 B
CMake
40 lines
479 B
CMake
project(libssh-headers C)
|
|
|
|
set(libssh_HDRS
|
|
callbacks.h
|
|
libssh.h
|
|
ssh2.h
|
|
legacy.h
|
|
)
|
|
|
|
if (WITH_SFTP)
|
|
set(libssh_HDRS
|
|
${libssh_HDRS}
|
|
sftp.h
|
|
)
|
|
endif (WITH_SFTP)
|
|
|
|
if (WITH_SSH1)
|
|
set(libssh_HDRS
|
|
${libssh_HDRS}
|
|
ssh1.h
|
|
)
|
|
endif (WITH_SSH1)
|
|
|
|
if (WITH_SERVER)
|
|
set(libssh_HDRS
|
|
${libssh_HDRS}
|
|
server.h
|
|
)
|
|
endif (WITH_SERVER)
|
|
|
|
install(
|
|
FILES
|
|
${libssh_HDRS}
|
|
DESTINATION
|
|
${INCLUDE_INSTALL_DIR}/${APPLICATION_NAME}
|
|
COMPONENT
|
|
headers
|
|
)
|
|
|