aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-04-28 16:13:28 +0200
committerselsta <selsta@sent.at>2021-04-28 17:06:59 +0200
commit881d81cce4b03c082cb70dab12c675154861741e (patch)
treef9b2691a63d35a5ad4d85ff22f18b68c9c7b6457
parentMerge pull request #7669 (diff)
downloadmonero-881d81cce4b03c082cb70dab12c675154861741e.tar.xz
translations: use full path in cmake
-rw-r--r--translations/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
index 0081746f2..88caf0231 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")