FindLibXklavier.cmake's version checking

Raphael Kubo da Costa kubito at gmail.com
Fri Oct 16 21:04:52 CEST 2009


Hi there,

Since version 4.0, libxklavier has changed the signature of one of its
functions. Commit 992187 attempts to fix kdebase, however it doesn't
work: libxklavier only returns its version via pkg-config, so
LIBXKLAVIER_VERSION is set to values such as 4.0, which fail with the
current solution (#ifdef LIBXKLAVIER_VERSION > 40).

I presume there isn't a easy, clean way to fix that, right? What
should be done? Set another variable in FindLibXklavier.cmake, such as
LIBXKLAVIER_VERSION_AT_LEAST_4?

Cheers,
Raphael


More information about the Kde-buildsystem mailing list