1
0
forked from blue/squawk
squawk/translations/CMakeLists.txt

13 lines
354 B
CMake
Raw Normal View History

find_package(Qt${QT_VERSION_MAJOR}LinguistTools)
set(TS_FILES
2024-10-07 10:09:29 +00:00
squawk_en.ts
squawk_ru.ts
squawk_pt_BR.ts
)
qt_add_translation(QM_FILES ${TS_FILES})
add_custom_target(translations ALL DEPENDS ${QM_FILES})
2024-10-07 10:09:29 +00:00
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/squawk/translations)
add_dependencies(${CMAKE_PROJECT_NAME} translations)