Fwd: Reminder: use KF5::foo instead of ${foo_LIBRARIES} in CMakeLists

Sebastian Kügler sebas at kde.org
Wed Sep 25 21:39:07 UTC 2013


On Wednesday, September 25, 2013 17:42:35 Aurélien Gâteau wrote:
> Replying to myself: this topic was discussed on IRC with Stephen Kelly, the 
> result is the following:
> 
> # Short version
> 
> 1. To use the "Foo" framework within another framework whose code is in 
> kdelibs, use "Foo":
> 
>         target_link_libraries(bar Foo...)
> 
> 2. To use the "Foo" framework outside of kdelibs, use "KF5::Foo":
> 
>         target_link_libraries(external_project KF5::Foo)
> 
> 3. Standalone builds of tier2 and tier3 are not possible for now.

Thanks for creating clarity. :)
-- 
sebas, goes to rename a lot of variables in cmake files all over Plasma =)

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Kde-frameworks-devel mailing list