== Compiling and installing message catalogs ==

Jump to: navigation, search

Consider some editions to example CmakeLists.txt in #Compiling and installing message catalogs section.

For ${LOCALE_INSTALL_DIR} var to be set, I added the following at the beginning:

   find_package(Gettext REQUIRED)
   find_package(ECM 0.0.12 REQUIRED)
   set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
   include(KDEInstallDirs)

Also I changed

   ADD_CUSTOM_COMMAND(TARGET ${_gmoFile}

to

   ADD_CUSTOM_COMMAND(OUTPUT ${_gmoFile}

otherwise it was not working for me.

Please, check that all is correct and then I will add it to page.

Ashark (talk)19:59, 2 May 2017

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in one of the groups: Users, Administrators, trusted, KDEDevelopers.


You can view and copy the source of this page.

Return to Thread:Talk:Development/Tutorials/Localization/i18n Build Systems/== Compiling and installing message catalogs ==/reply.