if(ESP_PLATFORM) file(GLOB SOURCES *.c) idf_component_register(SRCS ${SOURCES} INCLUDE_DIRS . REQUIRES lvgl) endif()