finding software with cmake

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Aug 3 05:53:24 BST 2007


Matt Rogers schrieb:
> On Thursday 02 August 2007 21:49, Alexander Neundorf wrote:
>> Hi,
>>
>> I just committed a change to FindKDE4Internal.cmake so that more
>> directories are searched by default by the FIND_XXX() commands.
>> Now also always the directories in the current install prefix and in the
>> install location of the currently running cmake will be searched. This will
>> be also the case starting with the next major cmake release, maybe already
>> starting with 2.4.8.
>>
>> Additionally the kde4 install directories are now also searched by default.
>>
>> So e.g. if you install cmake and e.g. kdesupport stuff (like strigi) to
>> $HOME/bin, lib and include and kde4 to $HOME/kde4/bin, lib and include,
>> everything in these directories will now be found automatically, e.g.
>>
>> find_library(STRIGI_STREAMANALYZER_LIBRARY NAMES streamanalyzer)
>>
>> would in this case work because it would be in $HOME/lib and cmake would be
>> in $HOME/bin.
>>
>> Regarding pkgconfig:
>> it is useful, but it has issues.
>> -it doesn't exist on all platforms
> 
> not true. see http://pkg-config.freedesktop.org/wiki/ where it explicitly 
> mentions Mac OS X and Windows.
> 
But it's unusable on win32...

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070803/2e7fa7a1/attachment.sig>


More information about the kde-core-devel mailing list