3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-02-04 13:05:23 +00:00

cmake: only use system glaze package if above version 6.0.0 (#12559)

This commit is contained in:
Aureus
2025-12-10 01:44:02 +13:00
committed by GitHub
parent efe665b455
commit 6712fb954f

View File

@ -11,7 +11,7 @@ set(CMAKE_CXX_STANDARD 23)
pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET tomlplusplus hyprutils>=0.7.0) pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET tomlplusplus hyprutils>=0.7.0)
find_package(glaze QUIET) find_package(glaze 6.0.0 QUIET)
if (NOT glaze_FOUND) if (NOT glaze_FOUND)
set(GLAZE_VERSION v6.1.0) set(GLAZE_VERSION v6.1.0)
message(STATUS "glaze dependency not found, retrieving ${GLAZE_VERSION} with FetchContent") message(STATUS "glaze dependency not found, retrieving ${GLAZE_VERSION} with FetchContent")