2023-11-09 07:31:26 +00:00
|
|
|
cmake_minimum_required(VERSION 3.5)
|
2021-12-26 07:21:21 +00:00
|
|
|
project(audiodev_PulseAudio LANGUAGES C)
|
|
|
|
|
|
|
|
find_package(PkgConfig)
|
|
|
|
pkg_check_modules(AUDIODEV_PulseAudio REQUIRED IMPORTED_TARGET
|
2022-05-28 18:45:13 +00:00
|
|
|
libpulse
|
2021-12-26 07:21:21 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(audiodev_PulseAudio STATIC
|
2022-05-28 18:45:13 +00:00
|
|
|
pulseaudio.c
|
2021-12-26 07:21:21 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(audiodev_PulseAudio
|
2022-05-28 18:45:13 +00:00
|
|
|
PkgConfig::AUDIODEV_PulseAudio
|
|
|
|
lg_common
|
2021-12-26 07:21:21 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(audiodev_PulseAudio
|
2022-05-28 18:45:13 +00:00
|
|
|
PRIVATE
|
|
|
|
src
|
2021-12-26 07:21:21 +00:00
|
|
|
)
|