BambooTracker/lang/CMakeLists.txt
raw| 1 | set (BT_TRANSLATIONS |
| 2 | bamboo_tracker_ja.ts |
| 3 | bamboo_tracker_fr.ts |
| 4 | bamboo_tracker_pl.ts |
| 5 | bamboo_tracker_es.ts |
| 6 | ) |
| 7 | |
| 8 | if (QT_VERSION EQUAL 6) |
| 9 | qt6_add_translation (TRANSLATIONS ${BT_TRANSLATIONS}) |
| 10 | else() |
| 11 | qt5_add_translation (TRANSLATIONS ${BT_TRANSLATIONS}) |
| 12 | endif() |
| 13 | |
| 14 | add_custom_target (BambooTracker_translations ALL DEPENDS ${TRANSLATIONS}) |
| 15 | install (FILES ${TRANSLATIONS} DESTINATION "${BT_LANGDIR}") |