Merge pull request #7697

881d81c translations: use full path in cmake (selsta)
This commit is contained in:
luigi1111 2021-05-12 17:03:17 -05:00
commit b1873af519
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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