This commit is contained in:
Aleksei Danilov 2017-01-05 04:55:26 +03:00
parent 860eb4c48e
commit fa61eba0d0

View file

@ -9,6 +9,12 @@ SET(EXEC_INSTALL_PREFIX
FORCE
)
SET(SHARE_INSTALL_PREFIX
"${CMAKE_INSTALL_PREFIX}/share"
CACHE PATH "Base directory for files which go to share/"
FORCE
)
SET(DATA_INSTALL_PREFIX
"${SHARE_INSTALL_PREFIX}/${APPLICATION_NAME}"
CACHE PATH "The parent directory where applications can install their data"
@ -57,12 +63,6 @@ else()
)
endif()
SET(SHARE_INSTALL_PREFIX
"${CMAKE_INSTALL_PREFIX}/share"
CACHE PATH "Base directory for files which go to share/"
FORCE
)
if(WIN32)
SET(SYSCONF_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/conf"