cmake: Copied CMakeParseArguments for backwards compatibility
Merge branch 'maint'