Install locales in minetest directory, so they are correctly loaded
authorZeg9 <dazeg9@gmail.com>
Tue, 26 Mar 2013 17:22:52 +0000 (18:22 +0100)
committerkwolekr <kwolekr@minetest.net>
Sun, 31 Mar 2013 01:48:12 +0000 (21:48 -0400)
CMakeLists.txt

index 437d31cf597dda53d40015151f584286c86b16fe..6bbe6454af39694f88556c68c2baa0bdbddd3e08 100644 (file)
@@ -85,7 +85,7 @@ elseif(UNIX) # Linux, BSD etc
                set(EXAMPLE_CONF_DIR ${DOCDIR})
                set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications")
                set(ICONDIR "${CMAKE_INSTALL_PREFIX}/share/icons")
-               set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/locale")
+               set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/locale")
        endif()
 endif()