Add the spec file as a dependency in add_custom_command


Fixes: QTBUG-142540
Pick-to: 6.11
Change-Id: I0159d92d3f0571e6752a7721f4aa9f696a8f8683
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit94e56d005fb0bd1357cbb7889136467e0a91833f
parentd121dd466952fcecaaeadb12db1597ea609a2e96
authorRym Bouabid <rym.bouabid@qt.io>
committerRym Bouabid <rym.bouabid@qt.io>
commit timeTue, 9 Dec 2025 10:46:14 +0000