OpenXR-SDK-Source
OpenXR-SDK-Source copied to clipboard
Windows loader uses dynamic MSVCRT by default
The comments on line 220-221 say one thing but this line is doing something else:
Edit: I've read the comment again, it seems to be fine, probably a misunderstanding on my side. However the default build behavior has changed, and we are using a dynamic MSVCRT for the static build. I don't know if this is the right thing to do. Changing the following line from AND NOT
to OR NOT
fixed my issue but it's probably the wrong approach.
https://github.com/KhronosGroup/OpenXR-SDK-Source/blob/33c4600cda9cd7689a2452c2251d8e5df0765d0e/src/loader/CMakeLists.txt#L208