New "official" way how to use an installed kdelibs from the frameworks branch
Kevin Ottens
ervin+bluesystems at kde.org
Mon Feb 25 09:48:56 UTC 2013
On Friday 22 February 2013 20:12:55 Alexander Neundorf wrote:
> On Friday 22 February 2013, Kevin Ottens wrote:
> > On Friday 22 February 2013 18:48:53 Alexander Neundorf wrote:
> > > This is either
> > > find_package(KConfig NO_MODULE)
> > > or
> > > find_package(KF5 COMPONENT KConfig)
> >
> > Hm, you mean that in the end both lines will be valid and do the "right"
> > thing? (I thought we had to pick one of those two possibilities and only
> > one)
>
> No, both work.
> Finding the libs as components will ensure that they are found from the same
> install prefix (plus optionally some environment variable), finding them
> separately will find you any combination, no guarantees.
OK, sounds good to me then.
Regards.
--
Kévin Ottens, http://ervin.ipsquad.net
Sponsored by BlueSystems and KDAB to work on KDE Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20130225/9d9401a8/attachment.sig>
More information about the Kde-buildsystem
mailing list