[CMake] [ANN] New PkgConfig module

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Tue Oct 31 06:30:07 EST 2006


Hello,

I wrote a new pkg-config module which is available at

                http://ensc.de/cmake/FindPkgConfig.cmake

It can be used like

#   pkg_check_modules (GLIB2   glib-2.0)
#
#   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
#
#   pkg_check_modules (FOO     glib-2.0>=2.10 gtk+-2.0)
#     requires both glib2 and gtk2, and defines e.g.
#       FOO_glib-2.0_VERSION=2.10.3
#       FOO_gtk+-2.0_VERSION=2.8.20
#
#   pkg_check_modules (XRENDER REQUIRED xrender)
#     defines e.g.:
#       XRENDER_LIBRARIES=Xrender;X11
#       XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
#
#   pkg_search_modules(BAR     libxml-2.0 libxml2 libxml>=2)

and defines lot of other variables. See link above for complete list.




Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20061031/af9eb1a1/attachment.pgp


More information about the CMake mailing list