Fix the qt_add_openapi_client logic


- the target can be deleted, since we don't check the count of arguments.
Without deleting it the function fails on
_qt_internal_validate_all_args_are_parsed() with following error:
Unknown arguments: (../../filename.yaml),
because the target is being excluded from ${ARGN} list.

Pick-to: 6.11
Change-Id: I7282d72be33253138617d14a221ae01dfe7a2aea
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commitd242600575426f1566f350ba7e35c25ef3f93529
parent955106daef768abb7c28bd9c275004c27ab5591d
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeThu, 18 Dec 2025 18:42:23 +0100