esp-idf/examples/peripherals/lcd/i80_controller/CMakeLists.txt

10 lines
464 B
CMake
Raw Normal View History

2021-09-01 08:50:48 -04:00
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(i80_controller)
2021-09-01 08:50:48 -04:00
# As the upstream LVGL library has build warnings in esp-idf build system, this is only for temporarily workaround
2021-09-26 23:32:29 -04:00
# Will remove this workaround when upstream LVGL fixes the warnings in the next release
2021-09-01 08:50:48 -04:00
idf_component_get_property(lvgl_lib lvgl__lvgl COMPONENT_LIB)
target_compile_options(${lvgl_lib} PRIVATE "-Wno-empty-body" "-Wno-strict-prototypes")