mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
cmake: Add imported target to FindALSA
This commit is contained in:
parent
c3b2039153
commit
d615c0f868
2 changed files with 8 additions and 2 deletions
|
@ -15,9 +15,10 @@ if(OPENSLES_FOUND)
|
|||
target_link_libraries(audiocommon PRIVATE OpenSLES::OpenSLES)
|
||||
endif()
|
||||
|
||||
find_package(ALSA)
|
||||
if(ALSA_FOUND)
|
||||
target_sources(audiocommon PRIVATE AlsaSoundStream.cpp)
|
||||
target_link_libraries(audiocommon PRIVATE ${ALSA_LIBRARIES})
|
||||
target_link_libraries(audiocommon PRIVATE ALSA::ALSA)
|
||||
endif()
|
||||
|
||||
if(AO_FOUND)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue