From a2b447fc2ce7083b61e327afc2cec127115efd2c 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 8ee706e..784285d 100644 --- a/editor/CMakeLists.txt +++ b/editor/CMakeLists.txt @@ -81,7 +81,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