diff options
| author | Silarn <jrim@rimpo.org> | 2018-04-07 20:09:41 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-04-07 20:09:41 -0500 |
| commit | b409a0bef934eb20d10ecd2f7448c2da00c8e500 (patch) | |
| tree | 49059740bcba70391f4d9e50687054f5b57ccaf8 /src | |
| parent | d62669e1b48687842fb856f2190c3bd84c514fd0 (diff) | |
Install the translation file (we need at least one)
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 70886f81..ef009e03 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -253,6 +253,7 @@ FIND_PACKAGE(Qt5LinguistTools) QT5_WRAP_UI(organizer_UIHDRS ${organizer_UIS}) QT5_ADD_RESOURCES(organizer_RCCPPS ${organizer_QRCS}) QT5_CREATE_TRANSLATION(organizer_translations_qm ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/organizer_en.ts) +ADD_CUSTOM_TARGET(translations DEPENDS ${organizer_translations_qm}) INCLUDE_DIRECTORIES(${Qt5Declarative_INCLUDES}) @@ -373,6 +374,8 @@ INSTALL( # qdds.dll needs installing manually as Qt no longer ships with it by default. INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../qdds.dll DESTINATION bin/dlls/imageformats) +install(FILES ${organizer_translations_qm} DESTINATION bin/translations) + INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/stylesheets ${CMAKE_CURRENT_SOURCE_DIR}/tutorials DESTINATION bin) |
