unbreak build bots
MODIFY
.github/workflows/build.yml
.github/workflows/build.yml
@@ -51,7 +51,7 @@ jobs:
if [[ ${{ matrix.compiler }} == "clang++-16" ]]; then
sudo apt-get install clang++-16
fi
- if [[ ${{ matrix.cache }} == "Redis" ]]; then
+ if [[ "${{ matrix.cache }}" == "Redis" ]]; then
sudo apt-get install libhiredis-dev
fi

MODIFY
CMakeLists.txt
CMakeLists.txt
@@ -155,7 +155,7 @@ if (HIREDIS_LIBRARIES)
cache/cache.cpp
)
add_library(cache STATIC ${CACHE_SRCS})
- string(APPEND ALIVE_LIBS cache)
+ set(ALIVE_LIBS ${ALIVE_LIBS} cache)
else()
set(HIREDIS_LIBRARIES $<0:''>)
add_compile_definitions(NO_REDIS_SUPPORT)

unbreak build bots