From c1df4dcf9f82c7485f40ec1a501d70e7d4a3c8f4 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Mon, 19 Sep 2016 19:50:57 -0700 Subject: [PATCH] Qt: Fix dependencies for translation files --- src/platform/qt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/qt/CMakeLists.txt b/src/platform/qt/CMakeLists.txt index a39c45513..71b432926 100644 --- a/src/platform/qt/CMakeLists.txt +++ b/src/platform/qt/CMakeLists.txt @@ -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()