ukui-screensaver/i18n_ts/CMakeLists.txt

12 lines
245 B
CMake

find_package(Qt5LinguistTools)
file(GLOB ts_files *.ts)
qt5_add_translation(qm_files ${ts_files})
add_custom_target(i18n
DEPENDS ${qm_files}
SOURCES ${ts_files}
)
install(FILES ${qm_files} DESTINATION /usr/share/ukui-screensaver/i18n_qm/)