Qt: Fix clean build failing with Makefile generator

This commit is contained in:
Vicki Pfau 2022-02-28 23:48:25 -08:00
parent db9d0434e7
commit 245a20b442

View File

@ -238,6 +238,7 @@ qt5_add_resources(RESOURCES resources.qrc)
if(BUILD_UPDATER)
file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/updater.qrc INPUT ${CMAKE_CURRENT_SOURCE_DIR}/updater.qrc.in)
qt5_add_resources(UPDATER_RESOURCES ${CMAKE_CURRENT_BINARY_DIR}/updater.qrc)
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/updater.qrc PROPERTIES GENERATED ON)
list(APPEND RESOURCES ${UPDATER_RESOURCES})
endif()
if(APPLE)