On Monday 17 December 2012, Ben Cooksley wrote: > On Tue, Dec 18, 2012 at 8:14 AM, Alexander Neundorf <[email protected]> wrote: > > On Monday 17 December 2012, Ben Cooksley wrote: > >> Hi all, > >> > >> Currently build.kde.org is unable to successfully complete builds of > >> kdeplasma-addons and Calligra due to recent changes in kdepimlibs. > >> These changes are a port from Nepomuk (part of kdelibs) to NepomukCore > >> (a seperate repository). > >> > >> As kdepimlibs uses the *Config.cmake method of exporting it's > >> location, this means that the proper location of the library is not > >> set correctly. > > > > Of which library ? nepomukcore ? > > Yes. > > > How is the dependency to nepomukCore recorded in the exported targets > > file ? > > IMPORTED_LINK_INTERFACE_LIBRARIES_RELWITHDEBINFO > "KDEPIMLibs__akonadi-kde;KDEPIMLibs__kabc;KDEPIMLibs__kcalcore;KDEPIMLibs__ > kmime;KDEPIMLibs__kpimutils;KDE4__kdeui;KDE4__kio;nepomukcore;/srv > > > Using the path to the nepomukCore library, or by depending on a target > > "nepomukCore" ? > > As a target - named "nepomukcore". > > > In the first case, I'm not sure where the breakage is. > > > > In the second case, kdepimlibsConfig.cmake needs to search nepomukCore > > first, so the targets exist. > > > > I don't have a recent build of kdepimlibs around, can you attach the > > installed kdepimlibsConfig.cmake file ? > > Please find it attached.
Yes, it needs to find_package(NepomukCore), maybe wrapped in an if(NOT TARGET nepomukcore) Alex
