translations: use full path in cmake

This commit is contained in:
selsta 2021-04-28 16:13:28 +02:00
parent 0a1ddc2eff
commit 881d81cce4
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ string(REPLACE ".ts" ".qm" qm_files "${ts_files}")
add_custom_command(TARGET generate_translations_header add_custom_command(TARGET generate_translations_header
POST_BUILD POST_BUILD
COMMAND ./generate_translations_header ${qm_files} COMMAND $<TARGET_FILE:generate_translations_header> ${qm_files}
WORKING_DIRECTORY "${CMAKE_CURRENT_BIN_DIR}" WORKING_DIRECTORY "${CMAKE_CURRENT_BIN_DIR}"
COMMENT "Generating embedded translations header") COMMENT "Generating embedded translations header")