diff --git a/config2.h.in b/config2.h.in index 2a445eb3..788b8ae1 100644 --- a/config2.h.in +++ b/config2.h.in @@ -131,6 +131,9 @@ /* Define if you want: LEDs support */ #mesondefine CONFIG_LEDS +/* Define as 1 to use the libcss library */ +#mesondefine CONFIG_LIBCSS + /* Define as 1 to use the libdom library. */ #mesondefine CONFIG_LIBDOM diff --git a/meson.build b/meson.build index 0c7f5330..6cdabc11 100644 --- a/meson.build +++ b/meson.build @@ -409,6 +409,7 @@ endif if conf_data.get('CONFIG_ECMASCRIPT_SMJS') or conf_data.get('CONFIG_QUICKJS') or conf_data.get('CONFIG_MUJS') cssdeps = dependency('libcss', static: st, version: '>=0.9.1') deps += cssdeps + conf_data.set('CONFIG_LIBCSS', 1) endif if conf_data.get('CONFIG_SCRIPTING_LUA')