diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-04-10 16:08:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 16:08:48 +0200 |
commit | 2349d31bae1bfc4d58fd88efbc88261e69b11dad (patch) | |
tree | cdf91dc31e60ad766f7e37e87c92a6ae15d71b91 | |
parent | 12275e235a17e84805f4b3b667e1ddbdf9499fc6 (diff) | |
download | minetest-2349d31bae1bfc4d58fd88efbc88261e69b11dad.tar.gz minetest-2349d31bae1bfc4d58fd88efbc88261e69b11dad.tar.bz2 minetest-2349d31bae1bfc4d58fd88efbc88261e69b11dad.zip |
Install the `locale` directory in a standard location without subfolder (#9618)
Other established FOSS projects don't seem to be doing this.
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bf409c124..8cf89dd17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,7 @@ elseif(UNIX) # Linux, BSD etc set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications") set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/metainfo") set(ICONDIR "${CMAKE_INSTALL_PREFIX}/share/icons") - set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/locale") + set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/locale") endif() endif() @@ -325,4 +325,3 @@ if(DOXYGEN_FOUND) COMMENT "Generating API documentation with Doxygen" VERBATIM ) endif() - |