On Tuesday 02 January 2007 14:43, Thiago Macieira wrote: > Volker Krause wrote: > >$ pkg-config --cflags glib-2.0 > >-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include > > > >which is correct and indeed would mean that my change is wrong. But > > cmake uses the following at this point (see UsePkgConfig.cmake): > > > >$ pkg-config --variable=includedir glib-2.0 > >/opt/gnome/include > > Indeed, that's wrong. We can't use includedir. It's not showing the > lib/glib-2.0/include either. > > >So, what's really wrong here, UsePkgConfig.cmake, glib-2.0.pc or > >FindGLIB2.cmake? > > UsePkgConfig. It shouldn't use --variable=includedir.
Isn't it a bug in the pkgconfig files if it doesn't report the required include dirs for variable=includedir ? Can you please have a look at FindPkgConfig.cmake from current cmake cvs ? It does a lot more than the UsePkgConfig.cmake we currently have. Bye Alex -- Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de Home: neundorf AT kde.org - http://www.kde.org alex AT neundorf.net - http://www.neundorf.net _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
