From 74a4a01ebf69ea63b56207efc222b34ac340705d Mon Sep 17 00:00:00 2001 From: maelstrom Date: Wed, 23 Jul 2025 03:00:22 +0200 Subject: [PATCH] refactor(cmake): windeployqt deploys debug dlls which the binary doesn't link against --- editor/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/CMakeLists.txt b/editor/CMakeLists.txt index 3ebcf05..c92c622 100644 --- a/editor/CMakeLists.txt +++ b/editor/CMakeLists.txt @@ -110,7 +110,7 @@ if (WIN32) # TODO: Add other translations add_custom_command( TARGET editor POST_BUILD - COMMAND ${WINDEPLOYQT_EXECUTABLE} $ ${QSCINTILLA_DLLS} --dir $ --translations en --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --plugindir $/qtplugins + COMMAND ${WINDEPLOYQT_EXECUTABLE} $ ${QSCINTILLA_DLLS} --release --dir $ --translations en --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --plugindir $/qtplugins ) # No sense adding opengl-sw given that hardware acceleration is necessary, anyway # Also don't want to clutter with plugins, add only needed ones