mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 23:37:18 +00:00
a205515d91
Build scaffolding only; implementation in later commits. Co-authored-by: Quantum <quantum2048@gmail.com>
26 lines
505 B
CMake
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}
|
|
)
|