mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 05:26:18 +08:00
fix(conf_internal): fix lv_conf.h include path (#10057)
Co-authored-by: André Costa <andre_miguel_costa@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
c163e412bb
commit
d90aed38d8
@@ -73,7 +73,7 @@
|
|||||||
#elif defined(LV_CONF_INCLUDE_SIMPLE) /* Or simply include lv_conf.h is enabled. */
|
#elif defined(LV_CONF_INCLUDE_SIMPLE) /* Or simply include lv_conf.h is enabled. */
|
||||||
#include "lv_conf.h"
|
#include "lv_conf.h"
|
||||||
#else
|
#else
|
||||||
#include "../../lv_conf.h" /* Else assume lv_conf.h is next to the lvgl folder. */
|
#include "../../../../lv_conf.h" /* Else assume lv_conf.h is next to the lvgl folder. */
|
||||||
#endif
|
#endif
|
||||||
#if !defined(LV_CONF_H) && !defined(LV_CONF_SUPPRESS_DEFINE_CHECK)
|
#if !defined(LV_CONF_H) && !defined(LV_CONF_SUPPRESS_DEFINE_CHECK)
|
||||||
/* #include will sometimes silently fail when __has_include is used */
|
/* #include will sometimes silently fail when __has_include is used */
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ fout.write(
|
|||||||
#elif defined(LV_CONF_INCLUDE_SIMPLE) /* Or simply include lv_conf.h is enabled. */
|
#elif defined(LV_CONF_INCLUDE_SIMPLE) /* Or simply include lv_conf.h is enabled. */
|
||||||
#include "lv_conf.h"
|
#include "lv_conf.h"
|
||||||
#else
|
#else
|
||||||
#include "../../lv_conf.h" /* Else assume lv_conf.h is next to the lvgl folder. */
|
#include "../../../../lv_conf.h" /* Else assume lv_conf.h is next to the lvgl folder. */
|
||||||
#endif
|
#endif
|
||||||
#if !defined(LV_CONF_H) && !defined(LV_CONF_SUPPRESS_DEFINE_CHECK)
|
#if !defined(LV_CONF_H) && !defined(LV_CONF_SUPPRESS_DEFINE_CHECK)
|
||||||
/* #include will sometimes silently fail when __has_include is used */
|
/* #include will sometimes silently fail when __has_include is used */
|
||||||
|
|||||||
Reference in New Issue
Block a user