1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[meson] Define CONFIG_LIBCSS

This commit is contained in:
Witold Filipczyk 2023-02-13 16:07:45 +01:00
parent ddc6e8381c
commit 1f72345615
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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')