mirror of https://github.com/mgba-emu/mgba.git
Windows: Attempt to fix building updater with MSVC
This commit is contained in:
parent
862bd15afc
commit
5f46364ef6
|
@ -236,7 +236,7 @@ endif()
|
|||
|
||||
qt5_add_resources(RESOURCES resources.qrc)
|
||||
if(BUILD_UPDATER)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/updater.qrc.in ${CMAKE_CURRENT_BINARY_DIR}/updater.qrc)
|
||||
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)
|
||||
list(APPEND RESOURCES ${UPDATER_RESOURCES})
|
||||
endif()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<RCC>
|
||||
<qresource>
|
||||
<file alias="updater">${PROJECT_BINARY_DIR}/updater-stub${CMAKE_EXECUTABLE_SUFFIX}</file>
|
||||
<file alias="updater">$<TARGET_FILE:updater-stub></file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
Loading…
Reference in New Issue