summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorRay <[email protected]>2018-10-18 11:38:42 +0200
committerRay <[email protected]>2018-10-18 11:38:42 +0200
commitc2aa1fed7b4b75c9bb560ffb9ff6cd8c99d7dd41 (patch)
tree32e75047121200593a9d09a32e5d5ebf171a88d2 /src/CMakeLists.txt
parent8bac72f4fa7b08d77ae1c47570612e29d5007bb6 (diff)
downloadraylib-c2aa1fed7b4b75c9bb560ffb9ff6cd8c99d7dd41.tar.gz
raylib-c2aa1fed7b4b75c9bb560ffb9ff6cd8c99d7dd41.zip
Removed OpenAL backend
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()