[CMake] Can imported libraries depend on ExternalProject targets?
Kent Williams
nkwmailinglists at gmail.com
Tue Jun 26 13:17:13 EDT 2012
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-work at 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
More information about the CMake
mailing list