[CMake] Seemingly-unfixable warning about CMP0058 after upgrade to CMake 3.3

Michael Catanzaro mcatanzaro at gnome.org
Tue Sep 29 08:40:49 EDT 2015


On Mon, 2015-09-28 at 11:51 -0400, Brad King wrote:
> CMake is warning that it now prefers to generate the Ninja build file
> for this case a different way than it did before but is doing it the
> old way for compatibility just in case the project needs that to
> build.
> In this case we know we are providing the file ourselves so it is
> safe
> to allow CMake to generate the build file without the extra phony
> rule.
> One can set the policy to NEW to get the new preferred behavior, but
> this has to be done in the project itself once it is known that the
> new
> behavior works for the project.

Thanks for the explanation, Brad!

Michael


More information about the CMake mailing list