mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
61088b71c6
commit
86152668c3
|
@ -67,7 +67,7 @@ MACRO(GETTEXT_CREATE_TRANSLATIONS_PCSX2 _potFile _firstPoFileArg)
|
||||||
IF (PACKAGE_MODE)
|
IF (PACKAGE_MODE)
|
||||||
INSTALL(FILES ${_gmoFile} DESTINATION share/locale/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo)
|
INSTALL(FILES ${_gmoFile} DESTINATION share/locale/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo)
|
||||||
ELSE (PACKAGE_MODE)
|
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)
|
ENDIF (PACKAGE_MODE)
|
||||||
|
|
||||||
SET(_gmoFiles ${_gmoFiles} ${_gmoFile})
|
SET(_gmoFiles ${_gmoFiles} ${_gmoFile})
|
||||||
|
|
Loading…
Reference in New Issue