aboutsummaryrefslogtreecommitdiff
path: root/translations
diff options
context:
space:
mode:
Diffstat (limited to 'translations')
-rw-r--r--translations/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
index 7e31ed319..927d1733a 100644
--- a/translations/CMakeLists.txt
+++ b/translations/CMakeLists.txt
@@ -73,7 +73,7 @@ string(REPLACE ".ts" ".qm" qm_files "${ts_files}")
add_custom_command(TARGET generate_translations_header
POST_BUILD
- COMMAND ./generate_translations_header ${qm_files}
+ COMMAND $<TARGET_FILE:generate_translations_header> ${qm_files}
WORKING_DIRECTORY "${CMAKE_CURRENT_BIN_DIR}"
COMMENT "Generating embedded translations header")