cmake: install mo file into Langs/id_code instead of Langs/id_code/LC_MESSAGES

Therefore it uses the same locations as windows.
This commit is contained in:
Gregory Hainaut 2014-08-02 19:00:37 +02:00
parent 61088b71c6
commit 86152668c3
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ MACRO(GETTEXT_CREATE_TRANSLATIONS_PCSX2 _potFile _firstPoFileArg)
IF (PACKAGE_MODE)
INSTALL(FILES ${_gmoFile} DESTINATION share/locale/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo)
ELSE (PACKAGE_MODE)
INSTALL(FILES ${_gmoFile} DESTINATION ${CMAKE_SOURCE_DIR}/bin/Langs/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo)
INSTALL(FILES ${_gmoFile} DESTINATION ${CMAKE_SOURCE_DIR}/bin/Langs/${_lang} RENAME ${_potBasename}.mo)
ENDIF (PACKAGE_MODE)
SET(_gmoFiles ${_gmoFiles} ${_gmoFile})