From 881d81cce4b03c082cb70dab12c675154861741e Mon Sep 17 00:00:00 2001 From: selsta Date: Wed, 28 Apr 2021 16:13:28 +0200 Subject: translations: use full path in cmake --- translations/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $ ${qm_files} WORKING_DIRECTORY "${CMAKE_CURRENT_BIN_DIR}" COMMENT "Generating embedded translations header") -- cgit v1.2.3