diff options
author | Chris Robinson <[email protected]> | 2020-04-19 03:34:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-19 03:35:31 -0700 |
commit | 07726ad63afda431f71b2ec9e5a6d70702377bb4 (patch) | |
tree | a39bcab09a3ca22a8395cb30ae6a5143736da59f /CMakeLists.txt | |
parent | 1ca7f22145ffcfc2e06fc834644f43a730089a26 (diff) |
Make sure HAVE_OBOE is cleared before checking
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e1343798..45f1317e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -732,33 +732,34 @@ IF(ALSOFT_REQUIRE_NEON AND NOT HAVE_NEON) ENDIF() -SET(HAVE_ALSA 0) -SET(HAVE_OSS 0) -SET(HAVE_SOLARIS 0) -SET(HAVE_SNDIO 0) -SET(HAVE_DSOUND 0) -SET(HAVE_WASAPI 0) -SET(HAVE_WINMM 0) -SET(HAVE_PORTAUDIO 0) -SET(HAVE_PULSEAUDIO 0) -SET(HAVE_COREAUDIO 0) -SET(HAVE_OPENSL 0) -SET(HAVE_WAVE 0) -SET(HAVE_SDL2 0) - -IF(WIN32 OR HAVE_DLFCN_H) - SET(IS_LINKED "") - MACRO(ADD_BACKEND_LIBS _LIBS) - ENDMACRO() -ELSE() - SET(IS_LINKED " (linked)") - MACRO(ADD_BACKEND_LIBS _LIBS) - SET(EXTRA_LIBS ${_LIBS} ${EXTRA_LIBS}) - ENDMACRO() -ENDIF() +set(HAVE_ALSA 0) +set(HAVE_OSS 0) +set(HAVE_SOLARIS 0) +set(HAVE_SNDIO 0) +set(HAVE_DSOUND 0) +set(HAVE_WASAPI 0) +set(HAVE_WINMM 0) +set(HAVE_PORTAUDIO 0) +set(HAVE_PULSEAUDIO 0) +set(HAVE_COREAUDIO 0) +set(HAVE_OPENSL 0) +set(HAVE_OBOE 0) +set(HAVE_WAVE 0) +set(HAVE_SDL2 0) + +if(WIN32 OR HAVE_DLFCN_H) + set(IS_LINKED "") + macro(ADD_BACKEND_LIBS _LIBS) + endmacro() +else() + set(IS_LINKED " (linked)") + macro(ADD_BACKEND_LIBS _LIBS) + set(EXTRA_LIBS ${_LIBS} ${EXTRA_LIBS}) + endmacro() +endif() -SET(BACKENDS "") -SET(ALC_OBJS ${ALC_OBJS} +set(BACKENDS "") +set(ALC_OBJS ${ALC_OBJS} alc/backends/base.cpp alc/backends/base.h # Default backends, always available |