[vcpkg toolchain] Fix paths with special characters#24463
[vcpkg toolchain] Fix paths with special characters#24463BillyONeal merged 3 commits intomicrosoft:masterfrom
Conversation
|
@ResearchDaniel Can you please test this PR? Thanks. |
|
This change doesn't make sense. Fortunately, it failed early. |
|
I think that the quotes need to be escaped inside of the other quotes? For example: Edit: The suggestion by @dg0yt to add the VERBATIM option to add_custom_command is better |
|
@ResearchDaniel I think now it's okay? |
tested your branch and it seems to work. |
Do you think the current one makes sense? |
Well, now it is what I proposed, and what CMake doc recommends. |
Sorry, I didn't see such a proposal. |
|
@JackBoosY Thanks for the fix :) |
[vcpkg toolchain] Fix paths with special characters (microsoft#24463)
When using
execute_processandadd_custom_command, the path included in the command line with special characters will break the execution process.Fixes #24447.