mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-29 03:31:57 +00:00
[client] clipboard/wayland: implement a no-op Wayland clipboard
Build scaffolding only; implementation in later commits. Co-authored-by: Quantum <quantum2048@gmail.com>
This commit is contained in:
committed by
Geoffrey McRae
parent
8f4e0f6b50
commit
a205515d91
25
client/clipboards/Wayland/CMakeLists.txt
Normal file
25
client/clipboards/Wayland/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
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}
|
||||
)
|
||||
Reference in New Issue
Block a user