Tested, with an env var:
when calling using cmake to generate the project it is directly found and used:
In your case is it really an error or just a warning ? it looks like you can click en generate? what happens next?