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

Attachment: pgpbvim4nSkj5.pgp
Description: PGP signature

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to