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

View file

@ -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")