LookingGlass/client/clipboards/Wayland/CMakeLists.txt
Tudor Brindus a205515d91 [client] clipboard/wayland: implement a no-op Wayland clipboard
Build scaffolding only; implementation in later commits.

Co-authored-by: Quantum <quantum2048@gmail.com>
2021-01-13 13:39:32 +11:00

26 lines
505 B
CMake

cmake_minimum_required(VERSION 3.0)
project(clipboard_Wayland LANGUAGES C)
find_package(PkgConfig)
pkg_check_modules(CLIPBOARD_PKGCONFIG REQUIRED
wayland-client
)
add_library(clipboard_Wayland STATIC
src/wayland.c
)
target_link_libraries(clipboard_Wayland
${CLIPBOARD_PKGCONFIG_LIBRARIES}
lg_common
)
target_include_directories(clipboard_Wayland
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
PRIVATE
src
${CLIPBOARD_PKGCONFIG_INCLUDE_DIRS}
)