mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-25 04:38:23 +00:00
Find alsa and pulse for libtgvoip
This commit is contained in:
parent
5f9dae1b72
commit
aaf71b34b5
@ -807,6 +807,16 @@ else()
|
||||
)
|
||||
|
||||
if (LINUX)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(ALSA REQUIRED alsa)
|
||||
pkg_check_modules(PULSE REQUIRED libpulse)
|
||||
|
||||
target_include_directories(lib_tgvoip
|
||||
PRIVATE
|
||||
${ALSA_INCLUDE_DIRS}
|
||||
${PULSE_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(lib_tgvoip
|
||||
PRIVATE
|
||||
${CMAKE_DL_LIBS}
|
||||
|
Loading…
Reference in New Issue
Block a user