mirror of
https://github.com/cottongin/cardputerzero-sync.git
synced 2026-11-20 14:44:47 -06:00
fix(device-ui): harden fbdev blit, evdev loop, LVGL lifecycle, and feedback toasts
This commit is contained in:
@@ -81,6 +81,9 @@ if(CP0_UI_BUILD_APP)
|
||||
endif()
|
||||
|
||||
if(CP0_UI_TARGET_DEVICE)
|
||||
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
message(FATAL_ERROR "CP0_UI_TARGET_DEVICE=ON requires Linux (fbdev/evdev); got CMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}")
|
||||
endif()
|
||||
target_compile_definitions(cp0-sync-ui PRIVATE CP0_UI_TARGET_DEVICE=1)
|
||||
message(STATUS "Target backend: Linux fbdev + evdev")
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user