On Thursday 26 August 2010, Bill Hoffman wrote: > On Thu, Aug 26, 2010 at 3:26 PM, Brad King <[email protected]> wrote: > > On 08/26/2010 03:22 PM, Alexander Neundorf wrote: > >> It breaks builds which had something like > >> > >> target_link_library(not_a_target) > >> > >> i.e. only one argument, and this one argument is not a valid target. > >> > >> If this silent acceptance of wrong code must be preserved, I'll add a > >> policy. Otherwise I'd call it a bugfix ;-) > > > > Let's just warn. A policy seems a bit heavy for this. > > Sounds good, an error is too harsh.
I colleague hit this today (i.e. the code was accepted), and was surprised that cmake did not report an error on this. Instead of a warning and continuing I'd prefer a policy actually. I'd say it's a bug that it doesn't fail. Alex _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
