cmake: further expand version

This commit is contained in:
Vaxry 2024-02-17 23:40:04 +00:00
parent 39b8afbef7
commit cd592840ff

View file

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.19) cmake_minimum_required(VERSION 3.19)
set(VERSION 0.1) set(VERSION 0.1.0)
project(hypridle project(hypridle
DESCRIPTION "An idle management daemon for Hyprland" DESCRIPTION "An idle management daemon for Hyprland"
@ -32,7 +32,7 @@ message(STATUS "Checking deps...")
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols hyprlang>=0.3.2 sdbus-c++) pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols hyprlang>=0.4.0 sdbus-c++)
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp") file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp")
add_executable(hypridle ${SRCFILES}) add_executable(hypridle ${SRCFILES})