Move Simple include definition to ESP32-drivers
This commit is contained in:
parent
28d9fe7641
commit
503ecb2b1e
|
@ -80,6 +80,8 @@ endif()
|
|||
idf_component_register(SRCS ${SOURCES}
|
||||
INCLUDE_DIRS ${LVGL_INCLUDE_DIRS}
|
||||
REQUIRES lvgl)
|
||||
|
||||
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DLV_LVGL_H_INCLUDE_SIMPLE")
|
||||
|
||||
else()
|
||||
message(FATAL_ERROR "LVGL ESP32 drivers: ESP_PLATFORM is not defined. Try reinstalling ESP-IDF.")
|
||||
|
|
Loading…
Reference in a new issue