widelands/widelands-localedir.patch

14 lines
548 B
Diff

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -79,7 +79,7 @@ set (WL_SOURCE_CHECKER ${CMAKE_CURRENT_S
set (WLBUILD_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
set (WLBUILD_INSTALL_DATADIR ${WL_INSTALL_DATADIR})
-set (WLBUILD_INSTALL_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/${WL_INSTALL_DATADIR}/locale")
+set (WLBUILD_INSTALL_LOCALEDIR ${WL_INSTALL_LOCALEDIR})
set (WLBUILD_INSTALL_BINDIR ${WL_INSTALL_BINDIR})
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)