KDE/kdelibs/cmake/modules
Thiago Macieira
thiago at kde.org
Tue Jan 2 14:43:20 CET 2007
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.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070102/ffc8bc83/attachment.pgp
More information about the Kde-buildsystem
mailing list