fix: include Abseil when gRPC is disabled

Abseil is required for failure_signal_handler and other utilities
used by the application even when gRPC is disabled. This fixes CI
build failures on Ubuntu where Abseil targets were not found when
gRPC was disabled in CI presets.
This commit is contained in:
scawful
2025-11-05 11:15:13 -05:00
parent 8a21b96062
commit a4a826274a

View File

@@ -30,6 +30,12 @@ include(cmake/dependencies/imgui.cmake)
# Debug: message(STATUS "After ImGui setup, YAZE_IMGUI_TARGETS = '${YAZE_IMGUI_TARGETS}'")
list(APPEND YAZE_ALL_DEPENDENCIES ${YAZE_IMGUI_TARGETS})
# Abseil is required for failure_signal_handler and other utilities
# Include it always, not just when gRPC is enabled
if(NOT YAZE_ENABLE_GRPC)
include(cmake/absl.cmake)
endif()
# Optional dependencies based on feature flags
if(YAZE_ENABLE_JSON)
include(cmake/dependencies/json.cmake)