fix: handle older VC redist versions (#5447)

This commit is contained in:
nerix
2024-06-15 12:32:01 +02:00
committed by GitHub
parent 66471075a5
commit 280ac30289
6 changed files with 37 additions and 4 deletions
+1
View File
@@ -865,6 +865,7 @@ if (BUILD_APP)
endif()
get_filename_component(QT_BIN_DIR ${QT_CORE_LOC} DIRECTORY)
# This assumes the installed CRT is up-to-date (see .CI/deploy-crt.ps1)
set(WINDEPLOYQT_COMMAND_ARGV "${WINDEPLOYQT_PATH}" "$<TARGET_FILE:${EXECUTABLE_PROJECT}>" ${WINDEPLOYQT_MODE} --no-compiler-runtime --no-translations --no-opengl-sw)
string(REPLACE ";" " " WINDEPLOYQT_COMMAND "${WINDEPLOYQT_COMMAND_ARGV}")