Files
looking-glass-2/host/platform/Linux/capture/pipewire/CMakeLists.txt
T
Quantum 1e2caf4c9f [host] pipewire: implement basic capture
It works, with the following limitations:
1. user is forced to select the monitor through platform-specific mechanisms
   every time the client starts.
2. cursor is composed onto the screen, and no position can be reported.
2021-08-21 23:01:11 +10:00

26 lines
426 B
CMake

cmake_minimum_required(VERSION 3.0)
project(capture_pipewire LANGUAGES C)
find_package(PkgConfig)
pkg_check_modules(CAPTURE_PIPEWIRE REQUIRED IMPORTED_TARGET
gio-2.0
gio-unix-2.0
libpipewire-0.3
libspa-0.2
)
add_library(capture_pipewire STATIC
src/pipewire.c
src/portal.c
)
target_link_libraries(capture_pipewire
PkgConfig::CAPTURE_PIPEWIRE
lg_common
)
target_include_directories(capture_pipewire
PRIVATE
src
)