[CMake] PKGCONFIG("dbus-1 >= 1.0.0" ...) should also possible
Alexander Neundorf
a.neundorf-work at gmx.net
Fri Jan 12 02:43:42 EST 2007
Von: Claus Klein <claus.klein at arcormail.de>
> Hi,
>
> to be more flexible, here is a patch for UsePkgConfig.cmake
>
> # PKGCONFIG("dbus-1 >= 1.0.0" ...) is now also possible.
>
> # Optional, for stage building, the
> # PKGCONFIG_OPTIONS and PKG_CONFIG_PATH environment variable are used
...
Thanks for the patch, but please have a look at the new FindPkgConfig.cmake module, which is much more powerful than the "old" and now obsolete UsePkgConfig.cmake. I think FindPkgConfig.cmake should already be able to do what you want.
Bye
Alex
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
More information about the CMake
mailing list