On Thursday 03 May 2007, Dirk Mueller wrote:
> 
> Hi, 
> 
> I've been tryign to find a useful cmake macro for checking if a library >= 
> someversion exists via pkgconfig. most places I could find in /trunk are 
> using pkgconfig manually (invoking via shell) and checking the return value. 
> this can't be the solution, can it?

>From kdelibs' FindPkgConfig.cmake:

# Examples
#   [...]
#   pkg_check_modules (GLIB2   glib-2.0>=2.10)
#     requires at least version 2.10 of glib2 and defines e.g.
#       GLIB2_VERSION=2.10.3
#


-- 
David Faure, [EMAIL PROTECTED], sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to