From fa61eba0d060b8c70cac3febd113b442d6e272f2 Mon Sep 17 00:00:00 2001 From: Aleksei Danilov Date: Thu, 5 Jan 2017 04:55:26 +0300 Subject: [PATCH] Fix pvpgn/pvpgn-server#265 --- cmake/Modules/DefineInstallationPaths.cmake | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmake/Modules/DefineInstallationPaths.cmake b/cmake/Modules/DefineInstallationPaths.cmake index ef7a4b9..aac2bf1 100644 --- a/cmake/Modules/DefineInstallationPaths.cmake +++ b/cmake/Modules/DefineInstallationPaths.cmake @@ -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"