1
0
forked from blue/squawk
squawk/translations/CMakeLists.txt
blue d89c030e66
translation verification
Portugues Brazil localization added provided by most welcome Bruno Fontes
2021-09-22 23:43:03 +03:00

12 lines
312 B
CMake

find_package(Qt5LinguistTools)
set(TS_FILES
squawk.ru.ts
squawk.pt_BR.ts
)
qt5_add_translation(QM_FILES ${TS_FILES})
add_custom_target(translations ALL DEPENDS ${QM_FILES})
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/squawk/l10n)
add_dependencies(${CMAKE_PROJECT_NAME} translations)