FindGLIB2ΒΆ

Try to locate the GLib2 library. If found, this will define the following variables:

GLIB2_FOUND

True if the GLib2 library is available

GLIB2_INCLUDE_DIRS

The GLib2 include directories

GLIB2_LIBRARIES

The GLib2 libraries for linking

GLIB2_INCLUDE_DIR

Deprecated, use GLIB2_INCLUDE_DIRS

GLIB2_LIBRARY

Deprecated, use GLIB2_LIBRARIES

If GLIB2_FOUND is TRUE, it will also define the following imported target:

GLIB2::GLIB2

The GLIB2 library

GLIB2::GTHREAD2

The GThread2 library (since 6.7.0)

GLIB2::GOBJECT

The GObject library (since 6.7.0)

GLIB2::GIO

The GIO library (since 6.7.0)

Since 5.41.0.