aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-03-10 01:03:39 -0700
committerChris Robinson <[email protected]>2009-03-10 01:03:39 -0700
commit7ebb28327f8e5fb91e3b0808f2782bf2f2e15341 (patch)
tree9ddf005ab90be2d09b5d743fc66674d650ab26b0 /CMakeLists.txt
parent86931cbde425a092527fd873e770ea5a617138da (diff)
Remove the SDL backend
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")