[cmake] Quote args when generating /libpath option specifying runtime dir for link/lld-link
When the runtime dir path includes whitespace (ex. when it's installed under "Program Files" on Windows), the lack of quotes causes the linker to interpret the path as one or more arguments. None of these path fragments exist, so the link fails. Differential Revision: https://reviews.llvm.org/D145827
Loading
Please sign in to comment