Due to this bug only the first item in the current PATH on the system is used when running Blender. The PATH is appended to a string type variable, which is then used as one element of a list in build_files\cmake\testing.cmake line 24. Since in cmake the semicolon is a list element delimiter, we need to escape all the semicolons in our PATH string if we want to use the variable as a single entry in the list. Pull Request: https://projects.blender.org/blender/blender/pulls/146770