aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/CMakeLists.txt
blob: dc67ab96bf588971fd85a1f9a54b9ab70ea0ee30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
project(libssh-headers C)

set(libssh_HDRS
  libssh.h
  crypto.h
  sftp.h
  ssh1.h
  ssh2.h
)

install(
  FILES
    ${libssh_HDRS}
  DESTINATION
    ${INCLUDE_INSTALL_DIR}/${APPLICATION_NAME}
  COMPONENT
    headers
)

if (WITH_SERVER)
  set(server_HDRS
    server.h
  )

  install(
    FILES
      ${server_HDRS}
    DESTINATION
      ${INCLUDE_INSTALL_DIR}/${APPLICATION_NAME}
    COMPONENT
      libraries
  )
endif (WITH_SERVER)