project: Fix handling of COMPAT_VERSION In cmProjectCommand, after validating the VERSION, we move it into a local variable. Later, however, we were comparing COMPAT_VERSION against the VERSION stored in the arguments. Compare to the local variable instead.