From 7ad1c8c63fc11c69529a9157f56406f661b0a675 Mon Sep 17 00:00:00 2001 From: DraVee Date: Sat, 14 Feb 2026 21:35:57 +0100 Subject: [PATCH] cmake: allow WINDEPLOYQT to check if it's necessary to copy any Qt dll In theory it shouldn't copy any qt dll on static build If this dont work I will change to `AND NOT YUZU_STATIC_BUILD` as you can't evaluate with "NOT" on `cmake_dependent_option` --- src/yuzu/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index dad32f2316..3de0d033f6 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -428,7 +428,7 @@ if(UNIX AND NOT APPLE) install(TARGETS yuzu) endif() -if (WIN32 AND NOT YUZU_USE_BUNDLED_QT AND QT_VERSION VERSION_GREATER_EQUAL 6) +if (WIN32 AND QT_VERSION VERSION_GREATER_EQUAL 6) set(YUZU_EXE_DIR "$") add_custom_command(TARGET yuzu POST_BUILD COMMAND ${WINDEPLOYQT_EXECUTABLE} "${YUZU_EXE_DIR}/eden.exe" --dir "${YUZU_EXE_DIR}" --libdir "${YUZU_EXE_DIR}" --plugindir "${YUZU_EXE_DIR}/plugins" --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-translations --verbose 0) endif()