summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/ConfigPaths.cmake
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-08-24 19:48:18 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-08-24 19:48:18 +0000
commit0094efd3c64b8a7ab96135c697a0ac265069a78f (patch)
tree564dc028eff4f5a7758ad762203e85f34f8e830d /CMakeScripts/ConfigPaths.cmake
parentupdate to trunk (diff)
parentRevert custom gdl patch (focus indicator of docked dialogs) for Quartz backen... (diff)
downloadinkscape-0094efd3c64b8a7ab96135c697a0ac265069a78f.tar.gz
inkscape-0094efd3c64b8a7ab96135c697a0ac265069a78f.zip
update to trunk
(bzr r13879.1.22)
Diffstat (limited to 'CMakeScripts/ConfigPaths.cmake')
-rw-r--r--CMakeScripts/ConfigPaths.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeScripts/ConfigPaths.cmake b/CMakeScripts/ConfigPaths.cmake
index 770e0c6ad..848e293f4 100644
--- a/CMakeScripts/ConfigPaths.cmake
+++ b/CMakeScripts/ConfigPaths.cmake
@@ -5,7 +5,9 @@ IF(WIN32)
set(SHARE_INSTALL "share" CACHE STRING "Data file install path. Must be a relative path (from CMAKE_INSTALL_PREFIX), with no trailing slash.")
ELSE(WIN32)
# TODO: check and change this to correct value:
- SET(PACKAGE_LOCALE_DIR "locale")
+ if(NOT PACKAGE_LOCALE_DIR)
+ SET(PACKAGE_LOCALE_DIR "${CMAKE_INSTALL_PREFIX}/share/locale") # packagers might overwrite this
+ endif(NOT PACKAGE_LOCALE_DIR)
if(NOT SHARE_INSTALL)
set(SHARE_INSTALL "share" CACHE STRING "Data file install path. Must be a relative path (from CMAKE_INSTALL_PREFIX), with no trailing slash.")