Qt: Fix dependencies for translation files

This commit is contained in:
Jeffrey Pfau 2016-09-19 19:50:57 -07:00
parent 59b1b2d810
commit c1df4dcf9f
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ if(Qt5LinguistTools_FOUND)
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()