window env variable and cmake path

Arguments following NAMES cannot include a directory, they must be file names only.

I can’t follow what you’re asking. Can you please provide more detail so that your question(s) are clearer?