mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-22 18:45:59 +01:00
27 lines
542 B
CMake
27 lines
542 B
CMake
cmake_minimum_required(VERSION 3.27)
|
|
|
|
project(borders-plus-plus
|
|
DESCRIPTION "borders-plus-plus plugin for Hyprland"
|
|
VERSION 0.1
|
|
)
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
|
|
file(GLOB_RECURSE SRC "*.cpp")
|
|
|
|
add_library(borders-plus-plus SHARED ${SRC})
|
|
|
|
find_package(PkgConfig REQUIRED)
|
|
pkg_check_modules(deps REQUIRED IMPORTED_TARGET
|
|
hyprland
|
|
libdrm
|
|
libinput
|
|
libudev
|
|
pangocairo
|
|
pixman-1
|
|
wayland-server
|
|
xkbcommon
|
|
)
|
|
target_link_libraries(borders-plus-plus PRIVATE rt PkgConfig::deps)
|
|
|
|
install(TARGETS borders-plus-plus)
|