Environment variable that contains backslash
Let's assume Windows. We have an environment variable A
with the content C:\Program...
.
If I would like to reach this from cmake it fails.
i.e:
message("test: $ENV{A}")
result is
when parsing string test C:\Program.... Invalid escape sequence \P
Edited by Vitéz László