From 1f72345615d72597994957c55cc7635e56e64802 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 13 Feb 2023 16:07:45 +0100 Subject: [PATCH] [meson] Define CONFIG_LIBCSS --- config2.h.in | 3 +++ meson.build | 1 + 2 files changed, 4 insertions(+) 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')