From: Hugo Locurcio Date: Fri, 10 Apr 2020 14:08:48 +0000 (+0200) Subject: Install the `locale` directory in a standard location without subfolder (#9618) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2349d31bae1bfc4d58fd88efbc88261e69b11dad;p=oweals%2Fminetest.git Install the `locale` directory in a standard location without subfolder (#9618) Other established FOSS projects don't seem to be doing this. --- 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() -