On Tuesday 02 January 2007 22:54, Thiago Macieira wrote: > Alexander Neundorf wrote: > >> 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 ? > > Not really. I don't think it's mandatory. Even if it is, I have no idea > how one should hardcode multiple include dirs -- which seems to be the > case here and in D-Bus.
Ok. > >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. > > http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/UsePkgConfig.cmake?rev=1.5 >&root=CMake is exactly the same as my version here. FindPkgConfig, not UsePkgConfig. It is much more powerful and will be part of cmake 2.4.6. > But I've just realised that the cflags are there. We just are using the > wrong thing. Drop the includedir stuff: use cflags only. Sounds good :-) 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
