mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-12-21 06:39:49 +01:00
28 lines
512 B
Text
28 lines
512 B
Text
|
cmake_minimum_required(VERSION 3.27)
|
||
|
|
||
|
project(hyprwinwrap
|
||
|
DESCRIPTION "hyprwinwrap plugin for Hyprland"
|
||
|
VERSION 0.1
|
||
|
)
|
||
|
|
||
|
set(CMAKE_CXX_STANDARD 23)
|
||
|
|
||
|
file(GLOB_RECURSE SRC "*.cpp")
|
||
|
|
||
|
add_library(hyprwinwrap 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(hyprwinwrap PRIVATE rt PkgConfig::deps)
|
||
|
|
||
|
install(TARGETS hyprwinwrap)
|