SDL_mixer: cmake: allow overriding GME_ZLIB and GME_UNRAR options by user (f66ff)

From f66ffea07e2d96f19c763144d54ae096ff693ccd Mon Sep 17 00:00:00 2001
From: Andrei Sabalenka <[EMAIL REDACTED]>
Date: Fri, 6 Sep 2024 01:47:07 +0300
Subject: [PATCH] cmake: allow overriding GME_ZLIB and GME_UNRAR options by
 user

(cherry picked from commit 62a41006dd22d1b0bef2a06f04b98264fccce855)
---
 CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed3a7f54..ee191c37 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -591,8 +591,7 @@ if(SDL2MIXER_GME)
         set(BUILD_SHARED_LIBS "${SDL2MIXER_GME_SHARED}")
         set(ENABLE_UBSAN OFF)
         set(BUILD_FRAMEWORK OFF)
-        set(GME_ZLIB OFF)
-        set(GME_UNRAR OFF)
+        option(GME_ZLIB "Enable GME to support compressed sound formats" OFF)
         message(STATUS "Using vendored libgme")
         sdl_check_project_in_subfolder(external/libgme libgme SDL2MIXER_VENDORED)
         add_subdirectory(external/libgme EXCLUDE_FROM_ALL)