blob: 0234deed3466a1dd274d16a53f245651e36dc80f (
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
|
if (NOT ${viewer_VERSION})
MESSAGE(FATAL_ERROR "Viewer version not known!")
endif (NOT ${viewer_VERSION})
set(INSTALL OFF CACHE BOOL
"Generate install target.")
if (INSTALL)
set(INSTALL_PREFIX /usr CACHE PATH
"Top-level installation directory.")
if (EXISTS /lib64)
set(_LIB lib64)
else (EXISTS /lib64)
set(_LIB lib)
endif (EXISTS /lib64)
set(INSTALL_LIBRARY_DIR ${INSTALL_PREFIX}/${_LIB} CACHE PATH
"Installation directory for read-only shared files.")
set(INSTALL_SHARE_DIR ${INSTALL_PREFIX}/share CACHE PATH
"Installation directory for read-only shared files.")
set(APP_BINARY_DIR ${INSTALL_LIBRARY_DIR}/imprudence-${viewer_VERSION}
CACHE PATH
"Installation directory for binaries.")
set(APP_SHARE_DIR ${INSTALL_SHARE_DIR}/imprudence-${viewer_VERSION}
CACHE PATH
"Installation directory for read-only data files.")
endif (INSTALL)
|