[CMake] [ANN] New PkgConfig module

Bill Hoffman bill.hoffman at kitware.com
Tue Oct 31 09:40:55 EST 2006


Maik Beckmann wrote:
>> Hello,
>>
>> I wrote a new pkg-config module which is available at
>>
>>                 http://ensc.de/cmake/FindPkgConfig.cmake
>>     

It would be great if this was backwards compatible with the 
UsePkgConfig.cmake that is in cmake now:
It should be easy to do, just implement this macro:

PKGCONFIG(package includedir libdir linkflags cflags)

Then have the UsePkgConfig.cmake include the FindPkgConfig.cmake.   
Maybe UsePkgConfig.cmake could print a warning about using the new one.

-Bill



More information about the CMake mailing list