set all SDL2 paths for MinGW packaging

This commit is contained in:
Roman Fomin 2021-12-23 00:54:29 +07:00
parent aa28066b1c
commit ef2b24175d

View File

@ -245,7 +245,10 @@ if(MINGW)
message(WARNING "Can't find libfluidsynth")
endif()
install(CODE "set(MINGW_PATH \"${SDL2_DLL_DIR}\")")
install(CODE
"set(MINGW_PATH \"${SDL2_DLL_DIR}\" \"${SDL2_MIXER_DLL_DIR}\"
\"${SDL2_MIXER_DLL_DIR}\")"
)
install(CODE [[
file(GET_RUNTIME_DEPENDENCIES