New "official" way how to use an installed kdelibs from the frameworks branch

Alexander Neundorf neundorf at kde.org
Fri Feb 22 19:12:55 UTC 2013


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.

Alex


More information about the Kde-buildsystem mailing list