On Thursday 28 February 2013, Marco Martin wrote:
> Hi all,
> today with up to date kdelibs, extra-cmake-modules and plasma-framework i
> get the following build error:
> 
> http://paste.opensuse.org/35600424
> 
> it seems build goes fine if i do the following change in kdelibs:
> http://paste.opensuse.org/74808056
> 
> but i don't think it's correct to remove every reference to threadweaver
> from KDELibs4Config.cmake ?
> what would be a correct way to fix this?

KDELibs4Config.cmake includes ThreadWeaverTargets.cmake without "include 
guard", I'll add that.
"include guard" in this regard means that an exports-file must not be included 
twice, because the first time it is included it creates imported targets, if 
you include it again, it tries to create them again.

So I'll add a 

if(NOT TARGET KF5::ThreadWeaver)
around it.

Alex
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to