mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
cmake: Move AO detection to AudioCommon
This commit is contained in:
@ -421,19 +421,6 @@ if (OPENGL_GL)
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
if(ENABLE_AO)
|
||||
check_lib(AO ao ao QUIET)
|
||||
if(AO_FOUND)
|
||||
add_definitions(-DHAVE_AO=1)
|
||||
message(STATUS "ao found, enabling ao sound backend")
|
||||
else()
|
||||
add_definitions(-DHAVE_AO=0)
|
||||
message(STATUS "ao NOT found, disabling ao sound backend")
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "ao explicitly disabled, disabling ao sound backend")
|
||||
endif()
|
||||
|
||||
if(ENABLE_BLUEZ)
|
||||
check_lib(BLUEZ bluez bluez QUIET)
|
||||
if(BLUEZ_FOUND)
|
||||
|
Reference in New Issue
Block a user