[cmake-developers] UseSWIG warns about CMP0057
felix schwitzer
felix.schwitzer at gmx.at
Fri Mar 27 17:24:09 EDT 2015
Brad King <brad.king at ...> writes:
>
> Yes, it should be fixed to just use DEPENDS instead of MAIN_DEPENDENCY,
> at least if there are multiple languages to be generated. There is no
> compatibility issue because MAIN_DEPENDENCY only affects the presentation
> of source files in IDE projects. Otherwise it is the same as DEPENDS.
> This is likely why repeated MAIN_DEPENDENCY didn't get noticed before.
>
> I'm not set up to test UseSWIG on a real project like you. Would you
> please look at making and testing the change locally and then send
> a patch?
I filed a bug report (http://public.kitware.com/Bug/view.php?id=15480)
with an example and a patch attached.
On my linux-system it worked fine.
Thanks
Felix
More information about the cmake-developers
mailing list