From 3e989c96dff7889aff5b6476bf2a8fb9c541bd95 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Mon, 24 Jun 2013 13:07:33 +0200 Subject: Fixed auto-detecting locale on Windows * localename library is now used to determine the actual locale used * added patched version of FindGettext.cmake to fix installation path of translation files --- po/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'po/CMakeLists.txt') diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 22393f9..2bd7461 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -15,5 +15,6 @@ add_custom_command(OUTPUT ${_potFile} add_custom_target(update-pot DEPENDS ${_potFile}) file(GLOB _poFiles *.po) +set(GETTEXT_INSTALL_PREFIX ${COLOBOT_INSTALL_I18N_DIR}) gettext_create_translations(${_potFile} ALL ${_poFiles}) -- cgit v1.2.3-1-g7c22