Skip to content

Commit

Permalink
cmake: allow overriding GME_ZLIB and GME_UNRAR options by user
Browse files Browse the repository at this point in the history
(cherry picked from commit 62a4100)
  • Loading branch information
mechakotik authored and madebr committed Sep 5, 2024
1 parent a81e15c commit f66ffea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f66ffea

Please sign in to comment.