need to check Xi lib version

Gabriel C crazy at frugalware.org
Sun Mar 15 12:38:42 GMT 2009


Gabriel C wrote:

> 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 )

                          ^^ --modversion of course :)






More information about the kde-core-devel mailing list