1
0
forked from blue/squawk
squawk/translations/CMakeLists.txt
2024-10-07 15:04:00 +03:00

13 lines
354 B
CMake

find_package(Qt${QT_VERSION_MAJOR}LinguistTools)
set(TS_FILES
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})
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/squawk/translations)
add_dependencies(${CMAKE_PROJECT_NAME} translations)