FindGLIB2.cmake

Allen Winter winter at kde.org
Sat Sep 1 14:26:59 CEST 2007


On Friday 31 August 2007 7:01:20 pm Alexander Neundorf wrote:
> On Friday 31 August 2007 15:50, Allen Winter wrote:
> > Howdy,
> >
> > On my system,
> > % pkg-config glib-2.0 --cflags
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> >
> > but FindGLIB2.cmake only sets
> > GLIB2_INCLUDE_DIR:PATH=/usr/include/glib-2.0
> >
> > So how to get the missing /usr/lib/glib-2.0/include into the
> > GLIB2_INCLUDE_DIR?
> 
> Fixed and committed, the additional include directory is right now optional, 
> i.e. it doesn't fail if it is not found:
> 
Still not working for me.

% grep GLIB2 CMakeCache.txt
GLIB2_INTERNAL_INCLUDE_DIR:PATH=GLIB2_INTERNAL_INCLUDE_DIR-NOTFOUND
GLIB2_LIBRARIES:FILEPATH=/lib/libglib-2.0.so
GLIB2_MAIN_INCLUDE_DIR:PATH=/usr/include/glib-2.0
//Search for GLIB2 package
WITH_GLIB2:BOOL=ON
//Advanced flag for variable: GLIB2_LIBRARIES
GLIB2_LIBRARIES-ADVANCED:INTERNAL=1


More information about the Kde-buildsystem mailing list