From 74a44883fab1b788de7df24c368c8b538e97580b Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sun, 13 Oct 2024 09:20:27 -0300 Subject: [PATCH] fix SDL3.dll not being included in the zip/installer on Windows --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1397a2db1..a17a843ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2052,6 +2052,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") ################################### install(TARGETS love lovec liblove RUNTIME DESTINATION .) + if(LOVE_USE_SDL3) + install(PROGRAMS $ DESTINATION .) + endif() + # Our install script (and NSIS) doesn't fully support Windows ARM64 yet. if(MEGA_ARM64) set(CPACK_GENERATOR ZIP)