FindGLIB2.cmake
Brad Hards
bradh at frogmouth.net
Sat Sep 1 12:02:28 CEST 2007
On Saturday 01 September 2007 09:01, Alexander Neundorf wrote:
> On Friday 31 August 2007 15:50, Allen Winter wrote:
> Fixed and committed, the additional include directory is right now
> optional, i.e. it doesn't fail if it is not found:
>
> Index: FindGLIB2.cmake
> ===================================================================
> --- FindGLIB2.cmake (revision 707065)
> +++ FindGLIB2.cmake (working copy)
> @@ -15,7 +15,7 @@
> pkgconfig(glib-2.0 _LibGLIB2IncDir _LibGLIB2LinkDir _LibGLIB2LinkFlags
> _LibGLIB2Cflags)
> endif(NOT WIN32)
>
> -find_path(GLIB2_INCLUDE_DIR glib.h
> +find_path(GLIB2_MAIN_INCLUDE_DIR glib.h
> PATH_SUFFIXES glib-2.0
> PATHS ${_LibGLIB2IncDir} )
Why don't you just trust pkgconfig on platforms where it exists?
Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070901/cf718fc0/attachment.pgp
More information about the Kde-buildsystem
mailing list