# Use when a .pro file requires libmaliit
# The .pro file must define TOP_DIR to be a relative path
# to the top-level source/build directory, and include config.pri

LIBS += $$TOP_DIR/lib/$$maliitDynamicLib($${MALIIT_GLIB_LIB})
POST_TARGETDEPS += $$TOP_DIR/lib/$$maliitDynamicLib($${MALIIT_GLIB_LIB})
INCLUDEPATH += $$TOP_DIR

# Use when a .pro file requires libmaliit-glib
# The .pro file must define TOP_DIR to be a relative path
# to the top-level source/build directory, and include config.pri

LIBS += $$TOP_DIR/lib/$$maliitDynamicLib($${MALIIT_GLIB_LIB})
POST_TARGETDEPS += $$TOP_DIR/lib/$$maliitDynamicLib($${MALIIT_GLIB_LIB})
INCLUDEPATH += $$TOP_DIR

CONFIG += link_pkgconfig
PKGCONFIG += glib-2.0 gobject-2.0

Add public dependencies to .pri file
maliit-glib: Add public dependencies to .pri file

RevBy: Michael Hasselmann
Makes things just-work for consumers when including this .pri file.

Full, original commit at 1ec4c1acece7f1d64635c459a593327fd1176a19 in maliit-framework
