On Wed, Jun 18, 2008 at 8:38 AM, Allen Winter <[EMAIL PROTECTED]> wrote:

> I remember Alex and myself fighting with FindGLIB2 previously.
>
> Probably the following is where you need to hack:
> find_path(GLIB2_INTERNAL_INCLUDE_DIR glibconfig.h
>          PATH_SUFFIXES glib-2.0/include
>          PATHS ${_LibGLIB2IncDir} "${glib2LibDir}" 
> ${CMAKE_SYSTEM_LIBRARY_PATH})
>
> and I guess you change things so GLIB2_Found is false if
> glibconfig.h is not located.

Don't the distros that do such things hack the glib2 pkg-config file
to include that dir?  Maybe there's a way to detect that?

-- 
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development

Blog: http://www.raccoonfink.com/
Music: http://music.raccoonfink.com/
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to