I think a comment would be useful here, like:
# Create a gitupdateexternal cmake script and its associated make target

Also, for consistency (and clarity) consider naming the target git_update_external or update_git_external instead of just update_external?