summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 005b22cb..1b1d0d06 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -45,13 +45,8 @@ endif()
add_definitions("-DRAYLIB_CMAKE=1")
if(USE_AUDIO)
- if (NOT USE_OPENAL_BACKEND)
- file(GLOB mini_al external/mini_al.c)
- MESSAGE(STATUS "Audio Backend: mini_al")
- else()
- find_package(OpenAL REQUIRED)
- MESSAGE(STATUS "Audio Backend: OpenAL")
- endif()
+ file(GLOB mini_al external/mini_al.c)
+ MESSAGE(STATUS "Audio Backend: mini_al")
file(GLOB stb_vorbis external/stb_vorbis.c)
set(sources ${raylib_sources} ${mini_al} ${stb_vorbis})
else()