From 539b77fec3f8ee452ae89a187cefb7f536e49e60 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Tue, 20 Jul 2010 06:45:21 +0000 Subject: [PATCH] Make translations working again git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34988 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/po/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/cmake/po/CMakeLists.txt b/development/cmake/po/CMakeLists.txt index afda03dd6e..5c8103ae74 100755 --- a/development/cmake/po/CMakeLists.txt +++ b/development/cmake/po/CMakeLists.txt @@ -9,7 +9,7 @@ project(po) include_directories(${TOP_SRC_DIR}/po) -SET(_lyxname ${LYX_PROJECT}) +SET(_lyxname ${PACKAGE}) SET(_py_sources) macro(add_gettext_python _par _dir) set(_sources) @@ -128,7 +128,7 @@ foreach(_pofile ${LYX_BASE_PO_FILES}) endforeach(_pofile) # ALL omitted here, to prevent from automatic creation -if(LYX_CPACK) +if(LYX_CPACK OR LYX_INSTALL) set(_addALLOption ALL) endif() GETTEXT_CREATE_TRANSLATIONS(${CMAKE_CURRENT_BINARY_DIR}/${_lyxname}.pot ${_addALLOption} ${LYX_PO_FILES})