summaryrefslogtreecommitdiff
path: root/audio/hydrogen/files/patch-data_i18n_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'audio/hydrogen/files/patch-data_i18n_CMakeLists.txt')
-rw-r--r--audio/hydrogen/files/patch-data_i18n_CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/audio/hydrogen/files/patch-data_i18n_CMakeLists.txt b/audio/hydrogen/files/patch-data_i18n_CMakeLists.txt
new file mode 100644
index 000000000000..80a0f147ea7f
--- /dev/null
+++ b/audio/hydrogen/files/patch-data_i18n_CMakeLists.txt
@@ -0,0 +1,8 @@
+--- data/i18n/CMakeLists.txt.orig 2020-08-15 20:14:40 UTC
++++ data/i18n/CMakeLists.txt
+@@ -5,4 +5,4 @@ FILE(GLOB TS_FILES ${CMAKE_CURRENT_LIST_DIR}/*.ts)
+
+ QT5_ADD_TRANSLATION(QM_FILES ${TS_FILES})
+ ADD_CUSTOM_TARGET(translations ALL DEPENDS ${QM_FILES})
+-INSTALL(FILES ${QM_FILES} DESTINATION "data/i18n")
++INSTALL(FILES ${QM_FILES} DESTINATION "%%DATADIR%%/data/i18n")