From: Peter Kümmel Date: Mon, 14 Mar 2011 23:26:00 +0000 (+0000) Subject: cmake: fix wrong install path X-Git-Tag: 2.0.0~526 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=25274723b06fbf2c6281b856bd9b7ed6f963bd3f;p=features.git cmake: fix wrong install path git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37925 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/cmake/modules/FindLyXGettext.cmake b/development/cmake/modules/FindLyXGettext.cmake index 3bc768e331..816cd3ce01 100755 --- a/development/cmake/modules/FindLyXGettext.cmake +++ b/development/cmake/modules/FindLyXGettext.cmake @@ -52,7 +52,7 @@ MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile) DEPENDS ${_absPotFile} ${_absFile} ) - INSTALL(FILES ${_gmoFile} DESTINATION ${LYX_ABS_INSTALLED_LOCALEDIR}/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo) + INSTALL(FILES ${_gmoFile} DESTINATION ${LYX_DATA_SUBDIR}${LYX_LOCALEDIR}/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo) SET(_gmoFiles ${_gmoFiles} ${_gmoFile}) ENDFOREACH (_currentPoFile )