diff options
-rw-r--r-- | CMakeLists.txt | 12 |
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( |