summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/AudioCommon')
-rw-r--r--Source/Core/AudioCommon/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/CMakeLists.txt b/Source/Core/AudioCommon/CMakeLists.txt
index 9cc835707b..cd852e0366 100644
--- a/Source/Core/AudioCommon/CMakeLists.txt
+++ b/Source/Core/AudioCommon/CMakeLists.txt
@@ -6,9 +6,11 @@ set(SRCS AudioCommon.cpp
set(LIBS "")
+find_package(OpenSLES)
if(OPENSLES_FOUND)
+ message(STATUS "OpenSLES found, enabling OpenSLES sound backend")
set(SRCS ${SRCS} OpenSLESStream.cpp)
- set(LIBS ${LIBS} ${OPENSLES_LIBRARIES})
+ set(LIBS ${LIBS} OpenSLES::OpenSLES)
endif()
if(ALSA_FOUND)