Invalid escape sequence child_image_preload.cmake

Hi,

I am trying to set up an MCUBoot child image. But when building the project, I get this CMake warning:

Fullscreen
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Looking at child_image_preload.cmake, I see that WEST_PYTHON is as follows:

`set(WEST_PYTHON "c:\ncs\toolchains\31f4403e35\opt\bin\python.exe" CACHE INTERNAL "NCS child image controlled")`

This string uses a single backslash (string escape), instead of double backslashes or a single forward slash.

I tried adding string replaces to `multi_image.cmake`, but this didn't solve it.

Fullscreen
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Do you know how I can fix it?

Edit:- nRF Connect SDK: v2.4.0 (installed through toolchain manager)

- OS: Windows 11

- Python version: 3.11.3

- CMake version: 3.26.3

Kind regards,

Tim