[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: FindGLIB2.cmake doesn't find glibconfig.h
From:       "Benjamin Reed" <rangerrick () gmail ! com>
Date:       2008-06-18 13:19:59
Message-ID: 57eba2250806180619k380c0bjfa00108d396ca1f0 () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jun 18, 2008 at 8:38 AM, Allen Winter <winter@kde.org> 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
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic