mu: add soft dependency on json-glib

If it's available it will be used.
This commit is contained in:
djcb
2018-11-11 12:12:36 +02:00
parent 2aa299b3ac
commit 93bd1b8ce7
4 changed files with 29 additions and 0 deletions

View File

@ -26,6 +26,7 @@ AM_CPPFLAGS=-I${top_srcdir}/lib $(GLIB_CFLAGS)
# use -Wno-unused-parameters, because some callbacks may not
# really need all the params they get
AM_CFLAGS= \
$(JSON_GLIB_CFLAGS) \
$(ASAN_CFLAGS) \
$(WARN_CFLAGS) \
-Wno-switch-enum \