[CMake] Why is this custom command run twice?
Brad King
brad.king at kitware.com
Fri Apr 30 14:02:14 EDT 2010
Tyler Roscoe wrote:
> On Fri, Apr 30, 2010 at 12:03:12PM -0400, Brad King wrote:
>> Unfortunately this can't be fixed upstream without breaking the
>> legacy extension-finding feature.
>
> Isn't this what CMake policies are for? Or is the offending code buried
> in some dark corner where policies won't help?
Yes, a policy would work for this, but it would trigger *many* warnings
for *many* projects. We've learned to introduce them only when absolutely
necessary.
-Brad
More information about the CMake
mailing list