FindGLIB2.cmake doesn't find glibconfig.h
Benjamin Reed
rangerrick at gmail.com
Wed Jun 18 15:19:59 CEST 2008
On Wed, Jun 18, 2008 at 8:38 AM, Allen Winter <winter at 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/
More information about the Kde-buildsystem
mailing list