ci: minor fixes to glaze

This commit is contained in:
Vaxry 2025-04-30 22:34:09 +01:00
parent 2ee5118d7a
commit b8a204c21d
No known key found for this signature in database
GPG key ID: 665806380871D640
2 changed files with 2 additions and 10 deletions

View file

@ -20,6 +20,7 @@ runs:
clang \
cmake \
git \
glaze \
glm \
glslang \
go \
@ -64,15 +65,6 @@ runs:
librsvg \
re2
- name: Get glaze
shell: bash
run: |
git clone https://github.com/stephenberry/glaze.git
cd glaze
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
cmake --install build
- name: Get hyprwayland-scanner-git
shell: bash
run: |

View file

@ -13,7 +13,7 @@ pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET tomlplusplus hyprutils>=0
find_package(glaze QUIET)
if (NOT glaze_FOUND)
set(GLAZE_VERSION v4.2.3)
set(GLAZE_VERSION v5.1.1)
message(STATUS "glaze dependency not found, retrieving ${GLAZE_VERSION} with FetchContent")
include(FetchContent)
FetchContent_Declare(