[fixup] make xpm optional at build time (default disabled)

This commit is contained in:
Johan Malm 2024-09-29 15:09:05 +01:00
parent 7366bdcef9
commit 24cbd2fc5c
4 changed files with 18 additions and 1 deletions

View file

@ -106,6 +106,12 @@ else
endif
conf_data.set10('HAVE_RSVG', have_rsvg)
have_xpm = false
if get_option('xpm').enabled()
have_xpm = true
endif
conf_data.set10('HAVE_XPM', have_xpm)
have_libsfdo = sfdo_basedir.found() and sfdo_desktop.found() and sfdo_icon.found()
conf_data.set10('HAVE_LIBSFDO', have_libsfdo)