forked from blue/squawk
Update translation install location
This commit is contained in:
parent
fb843a1346
commit
40133cc330
@ -1,12 +1,12 @@
|
|||||||
find_package(Qt${QT_VERSION_MAJOR}LinguistTools)
|
find_package(Qt${QT_VERSION_MAJOR}LinguistTools)
|
||||||
|
|
||||||
set(TS_FILES
|
set(TS_FILES
|
||||||
squawk.en.ts
|
squawk_en.ts
|
||||||
squawk.ru.ts
|
squawk_ru.ts
|
||||||
squawk.pt_BR.ts
|
squawk_pt_BR.ts
|
||||||
)
|
)
|
||||||
qt_add_translation(QM_FILES ${TS_FILES})
|
qt_add_translation(QM_FILES ${TS_FILES})
|
||||||
add_custom_target(translations ALL DEPENDS ${QM_FILES})
|
add_custom_target(translations ALL DEPENDS ${QM_FILES})
|
||||||
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/macaw.me/squawk/l10n)
|
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/squawk/translations)
|
||||||
|
|
||||||
add_dependencies(${CMAKE_PROJECT_NAME} translations)
|
add_dependencies(${CMAKE_PROJECT_NAME} translations)
|
||||||
|
Loading…
Reference in New Issue
Block a user