mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-11-17 02:35:57 +01:00
23 lines
529 B
Text
23 lines
529 B
Text
|
cmake_minimum_required(VERSION 3.19)
|
||
|
|
||
|
project(
|
||
|
hyprcursor-util
|
||
|
DESCRIPTION "A utility for creating and converting hyprcursor themes"
|
||
|
)
|
||
|
|
||
|
find_package(PkgConfig REQUIRED)
|
||
|
pkg_check_modules(deps REQUIRED IMPORTED_TARGET hyprlang>=0.4.0 libzip)
|
||
|
|
||
|
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp")
|
||
|
|
||
|
set(CMAKE_CXX_STANDARD 23)
|
||
|
|
||
|
add_executable(hyprcursor-util ${SRCFILES})
|
||
|
|
||
|
target_link_libraries(hyprcursor-util PkgConfig::deps)
|
||
|
target_include_directories(hyprcursor-util
|
||
|
PRIVATE
|
||
|
.
|
||
|
)
|
||
|
|
||
|
install(TARGETS hyprcursor-util)
|