diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-08-21 21:54:57 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-08-21 21:54:57 +0000 |
| commit | 584f35dcc621f5877732cf310c310570c021c31d (patch) | |
| tree | 6dd2b5612d3a41949ca87828c7cf27713e059675 /CMakeScripts/ConfigPaths.cmake | |
| parent | Not sure about this changes :( (diff) | |
| parent | indentation and whitespace fixes (diff) | |
| download | inkscape-584f35dcc621f5877732cf310c310570c021c31d.tar.gz inkscape-584f35dcc621f5877732cf310c310570c021c31d.zip | |
update to trunk
(bzr r13645.1.108)
Diffstat (limited to 'CMakeScripts/ConfigPaths.cmake')
| -rw-r--r-- | CMakeScripts/ConfigPaths.cmake | 4 |
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.") |
