CMakeLists.txt 458 B

123456789
  1. cmake_minimum_required(VERSION 3.5)
  2. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  3. project(lcd_lvgl)
  4. # As the upstream LVGL library has build warnings in esp-idf build system, this is only for temporarily workaround
  5. # Will remove this workaround when upstream LVGL fixes the warnings in the next release
  6. idf_component_get_property(lvgl_lib lvgl__lvgl COMPONENT_LIB)
  7. target_compile_options(${lvgl_lib} PRIVATE "-Wno-empty-body" "-Wno-strict-prototypes")