feat(cmake) Allow building LVGL without kconfig (#2165)
Also add ../ to the search path, such that lv_conf.h could be found on parent directory Related discussion: https://github.com/lvgl/lvgl/pull/1875#issuecomment-803179499
This commit is contained in:
@@ -28,10 +28,11 @@ fout.write(
|
||||
#include <stdint.h>
|
||||
|
||||
/* Handle special Kconfig options */
|
||||
#include "lv_conf_kconfig.h"
|
||||
|
||||
#ifdef CONFIG_LV_CONF_SKIP
|
||||
#define LV_CONF_SKIP
|
||||
#ifndef LV_KCONFIG_IGNORE
|
||||
# include "lv_conf_kconfig.h"
|
||||
# ifdef CONFIG_LV_CONF_SKIP
|
||||
# define LV_CONF_SKIP
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* If "lv_conf.h" is available from here try to use it later.*/
|
||||
|
||||
Reference in New Issue
Block a user