share/hedgewars/Data/Locale/CMakeLists.txt
changeset 3530 390e5048d39c
parent 1993 66ac34be63d1
child 3683 8d3b483c6949
--- a/share/hedgewars/Data/Locale/CMakeLists.txt	Mon Jun 21 16:08:24 2010 +0200
+++ b/share/hedgewars/Data/Locale/CMakeLists.txt	Mon Jun 21 16:52:14 2010 +0200
@@ -1,9 +1,12 @@
 file(GLOB txttrans2 ??.txt)
 file(GLOB txttrans5 ?????.txt)
-file(GLOB qmtrans hedgewars_*.qm)
+
+set(ts_files *.ts)
+QT4_CREATE_TRANSLATION(qm_files ts_files)
+#file(GLOB qmtrans hedgewars_*.qm)
 
 install(FILES
 	${txttrans2}
 	${txttrans5}
-	${qmtrans}
+	${qm_files}
 	DESTINATION ${SHAREPATH}Data/Locale)