cmake: Add -E create_hardlink

Fixes: #20950
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
13 files changed