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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user