[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: CMake error configuring extragear (webkitpart related)
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2010-03-05 18:02:34
Message-ID: 20100305180234.GA20403 () barmbek
[Download RAW message or body]
On 05.03.10 16:54:42, Jonathan Marten wrote:
> I've been getting the following while trying to configure extragear
> since about a week or so ago. Has anyone else got the same, or have
> any suggestions on how to deal with it? This is using CMake 2.8.0.
>
> -- checking for module 'kwebkitpart'
> -- package 'kwebkitpart' not found
> -- Found KWebKitPart: /ws/trunk/extragear
> CMake Error at base/konq-plugins/babelfish/CMakeLists.txt:15 (target_link_libraries):
> Target "kwebkitpart" of type MODULE_LIBRARY may not be linked into another
> target. One may link only to STATIC or SHARED libraries, or to executables
> with the ENABLE_EXPORTS property set.
>
> If you are developing a new project, re-organize it to avoid linking to
> modules. If you are just trying to build an existing project, set
> CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower to allow linking to modules.
>
> The same also happens with
> base/konq-plugins/searchbar/CMakeLists.txt
> base/konq-plugins/akregator/CMakeLists.txt
>
> As far as I can tell this is not a CMake problem, although it may be
> more particular than earlier versions - kwebkitpart (built in
> extragear/base/kwebkitpart) is indeed a module because kde4_add_plugin
> (in KDE4Macros.cmake) specifies that.
Then those libraries must not link against it, you must not link against
a plugin. The konq-plugins need to be changed.
Andreas
--
You are dishonest, but never to the point of hurting a friend.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic