Skip to content

Commit

Permalink
CMake: Remove old SDL2 HG tag flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Wohlstand committed May 28, 2022
1 parent 857f4dc commit e86c42d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/DownloadAudioCodecs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ set(AUDIO_CODECS_REPOSITORY_PATH ${CMAKE_BINARY_DIR}/external/AudioCodecs)

#set(AUDIO_CODECS_REPO_PATH "" CACHE PATH "Path to the AudioCodecs dependencies pack")

set(AUDIO_CODECS_SDL2_HG_BRANCH "" CACHE STRING "HG branch for SDL2 (official Mercurial mainstream repo)")
set(AUDIO_CODECS_SDL2_GIT_BRANCH "" CACHE STRING "GIT branch for SDL2 (unofficial Git mirror)")
set(AUDIO_CODECS_SDL2_GIT_BRANCH "" CACHE STRING "GIT commit hash for SDL2 repository")

option(WITH_SDL2_WASAPI "Enable WASAPI audio output support for Windows build of SDL2" ON)
if(WIN32)
Expand All @@ -29,9 +28,6 @@ if(WIN32)
endif()

set(SDL2_TAGS)
if(AUDIO_CODECS_SDL2_HG_BRANCH)
set(SDL2_TAGS ${SDL2_TAGS} "-DSDL2_HG_BRANCH=${AUDIO_CODECS_SDL2_HG_BRANCH}")
endif()
if(AUDIO_CODECS_SDL2_GIT_BRANCH)
set(SDL2_TAGS ${SDL2_TAGS} "-DSDL2_GIT_BRANCH=${AUDIO_CODECS_SDL2_GIT_BRANCH}")
endif()
Expand Down

0 comments on commit e86c42d

Please sign in to comment.