need to check Xi lib version
winter at kde.org
Mon Mar 16 12:28:26 CET 2009
Redirecting this to the buildsystem mailing list.
On Sunday 15 March 2009 9:22:34 pm Andriy Rysin wrote:
> 2009/3/14 Gabriel C <crazy at frugalware.org>:
> > Andriy Rysin wrote:
> >> Hi all
> >> in kxkb I need to check that Xi lib version is >= 1.2.0 (bug 182955)
> >> it looks like most checks for X11 libs defined in kdelibs/cmake but
> >> there's no check for their versions.
> >> Is there a quick way to check the Xi lib version without writing too
> >> cmake code myself?
> > Use pkgconfig ?
> > pkg-config --version xi will return the version. ( I don't know the cmake code for this check )
> well, in this case I would not use cmake module from kdelibs
> FindX11.cmake to find Xi and then if somebody else needs version it'll
> have to reimplemented again, I was thinking rather if we want to embed
> version info in the FindX11.cmake so it's in single place that
> everybody can benefit...
Yep, I think you should prepare a patch for FindX11.cmake.
Then post that patch to kde-buildsystem at kde.org for review.
Allen Winter | Software Engineer | 1-888-872-9339
KDAB, Inc. | "Platform-independent software solutions"
http://kdab.com | 1-866-777-5322 (US) | +46-563-540090 (Sweden)
More information about the Kde-buildsystem