cmake: small fix

9 jobs for pr/1339 in 137 minutes and 29 seconds (queued for 1 second)