diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-12 14:34:11 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-12 16:08:16 +0000 |
commit | 4a730fa0b08c68fc01f35b79a43fdd72411f2b83 (patch) | |
tree | c43a1ed2b7d9fdcd0092e773b2cf0483650ed940 /po | |
parent | 95598e0fa90f369ee4b9e7dc125cb33d5c7b4e49 (diff) | |
download | mana-4a730fa0b08c68fc01f35b79a43fdd72411f2b83.tar.gz mana-4a730fa0b08c68fc01f35b79a43fdd72411f2b83.tar.bz2 mana-4a730fa0b08c68fc01f35b79a43fdd72411f2b83.tar.xz mana-4a730fa0b08c68fc01f35b79a43fdd72411f2b83.zip |
CMake: Use GNUInstallDirs
This should make CMake options a little more standardized. The Windows
part could potentially still be unified further.
Absolute paths are now only used for the defines and not for values
going to install() commands.
Diffstat (limited to 'po')
-rw-r--r-- | po/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 08abb6bf..f2ae4b93 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -30,7 +30,7 @@ MACRO(MANA_GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFileArg) DEPENDS ${_absPotFile} ${_absFile} ) - INSTALL(FILES ${_gmoFile} DESTINATION share/locale/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo) + INSTALL(FILES ${_gmoFile} DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo) SET(_gmoFiles ${_gmoFiles} ${_gmoFile}) ENDFOREACH (_currentPoFile) |