all repos — mgba @ b42a067ce45d53845d17afe0df9f85139faa7f47

mGBA Game Boy Advance Emulator

Qt: Fix dependencies for translation files
Jeffrey Pfau jeffrey@endrift.com
Mon, 19 Sep 2016 19:50:57 -0700
commit

b42a067ce45d53845d17afe0df9f85139faa7f47

parent

c14c6d647f9b31a37657e02fcfaea4d299b3072e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -214,7 +214,7 @@ qt5_add_translation(TRANSLATION_FILES ${TS_FILES})

endif() add_custom_command(OUTPUT ${TRANSLATION_QRC} COMMAND ${CMAKE_COMMAND} -DTRANSLATION_QRC:FILEPATH="${TRANSLATION_QRC}" -DTRANSLATION_FILES="${TRANSLATION_FILES}" -P "${CMAKE_CURRENT_SOURCE_DIR}/ts.cmake" - DEPENDS ${TRANSLATION_FILES}) + DEPENDS ${TS_FILES}) qt5_add_resources(TRANSLATION_RESOURCES ${TRANSLATION_QRC}) list(APPEND RESOURCES ${TRANSLATION_RESOURCES}) endif()