I’ve create a very simple repo for reproducing the bug here.
The steps to reproduce are as such:
- Clone the test repo above
- Open a Visual Studio 2019 x64 Native Tools Command Prompt (or just run vcvarsall x64)
-
cdto the test repo source directory, runmkdir build, thencd build - Run
cmake -G Ninja ..to generate the Ninja build files - Run
cmake --build .orninjato run the build and trigger the issue