Rex Dieter wrote: > Yury G. Kudryashov wrote: > >> I don't think that adding REQUIRED is the right thing to do. Probably, >> if(NOT TARGET nepomukcore) >> if(KdepimLibs_FIND_REQUIRED) >> find_package(NepomukCore REQUIRED NO_MODULE) >> else() >> find_package(NepomukCore NO_MODULE) >> endif() >> endif() > > Indeed, if something like extra stanza is not added, now kdepim-runtime > fails, with: I've forgotten to backport aa811c346343fe344991373796b195fc719692ea to KDE/4.10 in nepomuk-core. I'll do it in a few minutes. > > CMake Error at > /usr/lib64/cmake/NepomukCore/NepomukCoreTargetsWithPrefix.cmake:16 > (ADD_LIBRARY): > add_library cannot create imported target "nepomukcore" because another > target with the same name already exists. > Call Stack (most recent call first): > /usr/lib64/cmake/NepomukCore/NepomukCoreConfig.cmake:34 (include) > CMakeLists.txt:84 (find_package) > ... > -- Configuring incomplete, errors occurred! > -- rex -- Yury G. Kudryashov, mailto: [email protected]
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
