Skip to content

Commit f66ffea

Browse files
mechakotikmadebr
authored andcommitted
cmake: allow overriding GME_ZLIB and GME_UNRAR options by user
(cherry picked from commit 62a4100)
1 parent a81e15c commit f66ffea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,7 @@ if(SDL2MIXER_GME)
591591
set(BUILD_SHARED_LIBS "${SDL2MIXER_GME_SHARED}")
592592
set(ENABLE_UBSAN OFF)
593593
set(BUILD_FRAMEWORK OFF)
594-
set(GME_ZLIB OFF)
595-
set(GME_UNRAR OFF)
594+
option(GME_ZLIB "Enable GME to support compressed sound formats" OFF)
596595
message(STATUS "Using vendored libgme")
597596
sdl_check_project_in_subfolder(external/libgme libgme SDL2MIXER_VENDORED)
598597
add_subdirectory(external/libgme EXCLUDE_FROM_ALL)

0 commit comments

Comments
 (0)