[vlmc-devel] nsis: Copy translation files to ts folder for windows installer.

Rohit Yadav git at videolan.org
Thu Jul 28 10:01:41 CEST 2011


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Thu Jul 28 13:45:22 2011 +0530| [13d3d905f3257e5d7586be8dd9ed5aaa71520759] | committer: Rohit Yadav

nsis: Copy translation files to ts folder for windows installer.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=13d3d905f3257e5d7586be8dd9ed5aaa71520759
---

 nsis/CMakeLists.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/nsis/CMakeLists.txt b/nsis/CMakeLists.txt
index bb8fb6a..9b91ce4 100644
--- a/nsis/CMakeLists.txt
+++ b/nsis/CMakeLists.txt
@@ -21,6 +21,11 @@ IF(WIN32)
              DESTINATION ${NSIS_OUTPUT_DIR}
              FILES_MATCHING PATTERN "*.dll")
 
+        # Copy Qt translations
+        FILE(COPY "${CMAKE_SOURCE_DIR}/contribs/ts/"
+             DESTINATION "${NSIS_OUTPUT_DIR}/ts/"
+             FILES_MATCHING PATTERN "*.qm")
+
         MESSAGE(STATUS "Configuring NSIS")
 
         # Copy and configure the nsis script file



More information about the Vlmc-devel mailing list