mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
cmake: Move OpenSLES detection to AudioCommon through find_package()
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user