cmake-basis/BASIS

Error when DEPENDS_<Pkg>_DIR variable contains backslashes on Windows

schuhschuh opened this issue · 0 comments

Issue by schuhschuh
Tuesday Mar 15, 2016 at 21:58 GMT
Originally opened as cmake-basis/legacy#557


When a DEPENDS_<Pkg>_DIR variable is set via copy-and-pasting a path from the Windows Explorer, it will contain backslashes as path separators instead of forward slashes. This causes a unknown escape sequence error in the basis_update_value function, namely the set_property(CACHE) command.