Skip to content

Commit

Permalink
fix SDL3.dll not being included in the zip/installer on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Oct 13, 2024
1 parent 72d865e commit 74a4488
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2052,6 +2052,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
###################################
install(TARGETS love lovec liblove RUNTIME DESTINATION .)

if(LOVE_USE_SDL3)
install(PROGRAMS $<TARGET_FILE:${MEGA_SDL3}> DESTINATION .)
endif()

# Our install script (and NSIS) doesn't fully support Windows ARM64 yet.
if(MEGA_ARM64)
set(CPACK_GENERATOR ZIP)
Expand Down

0 comments on commit 74a4488

Please sign in to comment.