FindPkgConfig in typelib

On Wednesday 15 September 2010 18:35:13 Leopold Palomo-Avellaneda wrote:
> Hi,
>
> playing a bit with typelib i have changed the CMakeLists to use the modern
> findpkgconfig.
>
> Here's the patch,

Thanks, from which cmake version is this macro available ?

Peter

FindPkgConfig in typelib

A Dimarts 21 Setembre 2010, Peter Soetens va escriure:
> On Wednesday 15 September 2010 18:35:13 Leopold Palomo-Avellaneda wrote:
> > Hi,
> >
> > playing a bit with typelib i have changed the CMakeLists to use the
> > modern findpkgconfig.
> >
> > Here's the patch,
>
> Thanks, from which cmake version is this macro available ?

Hi,

when you execute cmake there's a warning:

WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig"

I have see this warning in 2.6.0 and up. FindPkgConfig is in the cmake modules
from 2.4.8.

Leo

FindPkgConfig in typelib

Hi Leo,

I have applied it with your credits.

Thanks for the patch !

Peter

On Tue, Sep 21, 2010 at 11:07 AM, Leopold Palomo-Avellaneda
<leopold [dot] palomo [..] ...> wrote:
> A Dimarts 21 Setembre 2010, Peter Soetens va escriure:
>> On Wednesday 15 September 2010 18:35:13 Leopold Palomo-Avellaneda wrote:
>> > Hi,
>> >
>> > playing a bit with typelib i have changed the CMakeLists to use the
>> > modern findpkgconfig.
>> >
>> > Here's the patch,
>>
>> Thanks, from which cmake version is this macro available ?
>
> Hi,
>
> when you execute cmake there's a warning:
>
> WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig"
>
> I have see this warning in 2.6.0 and up. FindPkgConfig is in the cmake modules
> from 2.4.8.
>
> Leo
>