summaryrefslogtreecommitdiff
path: root/cmake/paths.cmk
blob: 593ebc118b28c33aea7119f6344285ae3fb51e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if(WIN32 AND NOT MINGW)
  set(CMAKE_INSTALL_PREFIX ""               CACHE PATH "Install prefix")
  set(BIN_INSTALL_DIR      .                CACHE PATH "Binary install dir")
  set(LIB_INSTALL_DIR      .                CACHE PATH "Library install dir")
  set(LIBEXEC_INSTALL_DIR  .                CACHE PATH "Private executable install dir")
  set(INCLUDE_INSTALL_DIR  include          CACHE PATH "Include install dir")
  set(SYSCONF_INSTALL_DIR  .                CACHE PATH "Configuration install dir")
  set(SHARE_INSTALL_DIR    .                CACHE PATH "Data install dir")
else(WIN32 AND NOT MINGW)
  set(CMAKE_INSTALL_PREFIX /usr/local       CACHE PATH "Install prefix")
  set(BIN_INSTALL_DIR      bin              CACHE PATH "Binary install dir")
  set(LIB_INSTALL_DIR      lib${LIB_SUFFIX} CACHE PATH "Library install dir")
  set(LIBEXEC_INSTALL_DIR  libexec          CACHE PATH "Private executable install dir")
  set(INCLUDE_INSTALL_DIR  include          CACHE PATH "Include install dir")
  set(SYSCONF_INSTALL_DIR  /etc             CACHE PATH "Configuration install dir")
  set(SHARE_INSTALL_DIR    share            CACHE PATH "Data install dir")
endif(WIN32 AND NOT MINGW)