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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ set(CMAKE_CXX_STANDARD 23)
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)
set(GLAZE_VERSION v6.1.0)
message(STATUS "glaze dependency not found, retrieving ${GLAZE_VERSION} with FetchContent")