Normal variables are meant for the internal use of the script just like variables in most programming languages. Cmakelists txt 1 project cmake error. Use the syntax env var to read environment variable var.