aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt22
1 files changed, 0 insertions, 22 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 050b75f5..784713d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,6 @@ OPTION(SOLARIS "Check for Solaris backend" ON)
OPTION(DSOUND "Check for DirectSound backend" ON)
OPTION(WINMM "Check for Windows Multimedia backend" ON)
OPTION(PORTAUDIO "Check for PortAudio backend" ON)
-OPTION(SDL "Check for SDL backend" ON)
OPTION(DLOPEN "Check for the dlopen API for loading optional libs" ON)
@@ -340,27 +339,6 @@ IF(PORTAUDIO)
ENDIF()
ENDIF()
-# Check SDL backend
-IF(SDL)
- CHECK_INCLUDE_FILE(SDL.h HAVE_SDL_H)
- IF(NOT HAVE_SDL_H)
- CHECK_INCLUDE_FILE(SDL/SDL.h HAVE_SDL_SDL_H)
- ENDIF()
- IF(HAVE_SDL_H OR HAVE_SDL_SDL_H)
- CHECK_LIBRARY_EXISTS(SDL SDL_Init "" HAVE_LIBSDL)
- IF(HAVE_DLFCN_H OR HAVE_LIBSDL)
- SET(HAVE_SDL 1)
- SET(ALC_OBJS ${ALC_OBJS} Alc/sdl.c)
- IF(HAVE_DLFCN_H)
- SET(BACKENDS "${BACKENDS} SDL,")
- ELSE()
- SET(BACKENDS "${BACKENDS} SDL \(linked\),")
- SET(EXTRA_LIBS SDL ${EXTRA_LIBS})
- ENDIF()
- ENDIF()
- ENDIF()
-ENDIF()
-
# This is always available
SET(BACKENDS "${BACKENDS} WaveFile")