test build failures

Milian Wolff mail at milianw.de
Thu May 9 00:35:45 BST 2013

On Wednesday 08 May 2013 22:37:40 Jonathan Riddell wrote:
> I get this failure from cmake when configuring kdevelop 4.5.0
> CMake Error at languages/cpp/tests/CMakeLists.txt:103
> (target_link_libraries):
>   Target "kdevcpplanguagesupport" 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.
> any ideas why?

probably b/c kdevcpplanguagesupport is not a proper library but needs to be 
one to be linked into the test
Milian Wolff
mail at milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20130509/cab9d958/attachment.sig>

More information about the KDevelop mailing list