summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-15 12:43:43 -0800
committerChris Robinson <[email protected]>2008-01-15 12:43:43 -0800
commit0f06254ecf7e5d4cc55ed914798e30c345b85a8c (patch)
tree810447db718a15bf7c4f5ab0e469cdc494749384 /CMakeLists.txt
parentff5245ca8aa5827dbb22a32ebd16277261477349 (diff)
Use a string for the detected backends, instead of a list
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 371eaeb5..ff74f23d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -225,9 +225,9 @@ IF(ALSA)
SET(HAVE_ALSA 1)
SET(ALC_OBJS ${ALC_OBJS} Alc/alsa.c)
IF(HAVE_DLFCN_H)
- SET(BACKENDS ${BACKENDS} ALSA)
+ SET(BACKENDS "${BACKENDS} ALSA,")
ELSE()
- SET(BACKENDS ${BACKENDS} ALSA\(linked\))
+ SET(BACKENDS "${BACKENDS} ALSA \(linked\),")
SET(EXTRA_LIBS asound ${EXTRA_LIBS})
ENDIF()
ENDIF()
@@ -240,7 +240,7 @@ IF(OSS)
IF(HAVE_SYS_SOUNDCARD_H)
SET(HAVE_OSS 1)
SET(ALC_OBJS ${ALC_OBJS} Alc/oss.c)
- SET(BACKENDS ${BACKENDS} OSS)
+ SET(BACKENDS "${BACKENDS} OSS,")
ENDIF()
ENDIF()
@@ -259,7 +259,7 @@ IF(HAVE_WINDOWS_H)
IF(HAVE_DSOUND_H)
SET(HAVE_DSOUND 1)
SET(ALC_OBJS ${ALC_OBJS} Alc/dsound.c)
- SET(BACKENDS ${BACKENDS} DirectSound)
+ SET(BACKENDS "${BACKENDS} DirectSound,")
CHECK_LIBRARY_EXISTS(dxguid IID_IDirectSound "" HAVE_LIBDXGUID)
IF(HAVE_LIBDXGUID)
@@ -272,7 +272,7 @@ IF(HAVE_WINDOWS_H)
IF(HAVE_MMSYSTEM_H)
SET(HAVE_WINMM 1)
SET(ALC_OBJS ${ALC_OBJS} Alc/winmm.c)
- SET(BACKENDS ${BACKENDS} WinMM)
+ SET(BACKENDS "${BACKENDS} WinMM,")
SET(CMAKE_REQUIRED_LIBRARIES winmm)
CHECK_C_SOURCE_COMPILES("int main() {return 0;}" HAVE_LIBWINMM)
@@ -286,7 +286,7 @@ IF(HAVE_WINDOWS_H)
ENDIF()
# This is always available
-SET(BACKENDS ${BACKENDS} WaveFile)
+SET(BACKENDS "${BACKENDS} WaveFile")
# End configuration
CONFIGURE_FILE(