If I understand what's going on in that bug report, yes
add_dependency(imported_library EP_target) should work.  But I found
that in fact it did not.  So maybe that is a bug; if this was fixed in
2.8.4, I don't understand why I still have  a problem.

On Tue, Jun 26, 2012 at 11:12 AM, Alexander Neundorf
<a.neundorf-w...@gmx.net> wrote:
> On Tuesday 26 June 2012, Kent Williams wrote:
>
>> I meant to say 'the approach you use doesn't work, because imported
>
>> libraries are targets to are targets to which you CANNOT add
>
>> dependencies."
>
> This should work since I think cmake 2.8.4.
>
> http://public.kitware.com/Bug/view.php?id=10395
>
> Or am I misunderstanding what you said ?
>
> Alex
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to