diff options
author | Michael Weiser <michael@weiser.dinsnail.net> | 2013-03-18 18:15:14 +0100 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2013-03-18 18:15:14 +0100 |
commit | 47e869e60fb147caca825380eeaa2a0851d502b9 (patch) | |
tree | 00da01f59f182211a1dbc01599a5e7128ff06652 | |
parent | 72c8312d77704211f55c8de35b47bd811c792878 (diff) |
cmake: search also for gio-2.0 as GLIB library
-rw-r--r-- | cmake/modules/FindGLIB.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/modules/FindGLIB.cmake b/cmake/modules/FindGLIB.cmake index 15fb0c75..35a9f9e7 100644 --- a/cmake/modules/FindGLIB.cmake +++ b/cmake/modules/FindGLIB.cmake @@ -3,20 +3,21 @@ # # GLIB_FOUND - system has GLib # GLIB2_CFLAGS - the GLib CFlags # GLIB2_LIBRARIES - Link these to use GLib # # Copyright 2008-2010 Pino Toscano, <pino@kde.org> +# Copyright 2013 Michael Weiser, <michael@weiser.dinsnail.net> # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. include(FindPackageHandleStandardArgs) if (NOT WIN32) find_package(PkgConfig REQUIRED) - pkg_check_modules(GLIB2 "glib-2.0>=${GLIB_REQUIRED}" "gobject-2.0>=${GLIB_REQUIRED}") + pkg_check_modules(GLIB2 "glib-2.0>=${GLIB_REQUIRED}" "gobject-2.0>=${GLIB_REQUIRED}" "gio-2.0>=${GLIB_REQUIRED}") find_package_handle_standard_args(GLib DEFAULT_MSG GLIB2_LIBRARIES GLIB2_CFLAGS) endif(NOT WIN32) |