build: add gio to FindGObject

This commit is contained in:
Joshua M. Doe 2017-11-09 06:53:56 -05:00
parent 714a530d34
commit f76390323f

View File

@ -66,8 +66,14 @@ FIND_LIBRARY(_GLibs NAMES glib-2.0
${PKG_GOBJECT2_LIBDIR} ${PKG_GOBJECT2_LIBDIR}
${GSTREAMER_ROOT}/lib ${GSTREAMER_ROOT}/lib
) )
FIND_LIBRARY(_GIOLibs NAMES gio-2.0
HINTS
${PKG_GOBJECT2_LIBRARY_DIRS}
${PKG_GOBJECT2_LIBDIR}
${GSTREAMER_ROOT}/lib
)
SET (GOBJECT_LIBRARIES ${_GObjectLibs} ${_GModuleLibs} ${_GThreadLibs} ${_GLibs}) SET (GOBJECT_LIBRARIES ${_GObjectLibs} ${_GModuleLibs} ${_GThreadLibs} ${_GLibs} ${_GIOLibs})
MARK_AS_ADVANCED(GOBJECT_INCLUDE_DIR GOBJECT_LIBRARIES) MARK_AS_ADVANCED(GOBJECT_INCLUDE_DIR GOBJECT_LIBRARIES)