mirror of https://github.com/mgba-emu/mgba.git
Revert "Qt: Fix dependencies for translation files"
This reverts commit b42a067ce4
.
This commit is contained in:
parent
b42a067ce4
commit
de8a59e51e
|
@ -214,7 +214,7 @@ if(Qt5LinguistTools_FOUND)
|
||||||
endif()
|
endif()
|
||||||
add_custom_command(OUTPUT ${TRANSLATION_QRC}
|
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"
|
COMMAND ${CMAKE_COMMAND} -DTRANSLATION_QRC:FILEPATH="${TRANSLATION_QRC}" -DTRANSLATION_FILES="${TRANSLATION_FILES}" -P "${CMAKE_CURRENT_SOURCE_DIR}/ts.cmake"
|
||||||
DEPENDS ${TS_FILES})
|
DEPENDS ${TRANSLATION_FILES})
|
||||||
qt5_add_resources(TRANSLATION_RESOURCES ${TRANSLATION_QRC})
|
qt5_add_resources(TRANSLATION_RESOURCES ${TRANSLATION_QRC})
|
||||||
list(APPEND RESOURCES ${TRANSLATION_RESOURCES})
|
list(APPEND RESOURCES ${TRANSLATION_RESOURCES})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue