Eliminating confusion after pkgconfig fails to find packages

Alexander Neundorf neundorf at kde.org
Tue Mar 10 20:58:39 CET 2009


On Tuesday 10 March 2009, David Jarvie wrote:
> On Mon 9 March 2009 23:32:48 Alexander Neundorf wrote:
...
> > It's no (real) problem to add a copy of FindPkgConfig.cmake again to
> > kdelibs/cmake/modules/.
>
> OK, here's a patch to FindPkgConfig.cmake (from cmake 2.6.2) to provide a
> QUIET option for pkg_check_modules(). For example,
>
> pkg_check_modules(PC_QIMAGEBLITZ QUIET qimageblitz)
>
> OK to commit to kdelibs/cmake/modules? If so, I'll do a patch to convert
> the relevant FindXXXX.cmake files.

I didn't test it, but in general it looks good.
You may want to add a sentence what the new option does to the documentation 
at the top.
So, from my side, go ahead and commit if it works for you.

Alex



More information about the Kde-buildsystem mailing list