[vcpkg_fixup_pkgconfig] skip checks on paths with spaces#12703
[vcpkg_fixup_pkgconfig] skip checks on paths with spaces#12703Neumann-A wants to merge 3 commits intomicrosoft:masterfrom
Conversation
introduce VCPKG_SKIP_PKGCONFIG_CHECK to skip the pkg-config if set to true|on
JackBoosY
left a comment
There was a problem hiding this comment.
After internal discussion, we believe that because std::filesystem::current_path is case-insensitive, the case of VCPKG_*_DIR does not match the actual path, and this is by design.
So please change the path to lowercase before replacing the absolute path with the relative path.
|
pbc issue would be fixed via #12732 |
|
@JackBoosY: I don't believe the case insensitive part since the output everything is clearly uppercase: The same is true for a WSL build. |
|
So there is a trick to make spaces work which is basically to transform |
|
@Neumann-A It is always difficult to use cmake to deal with delimiters and quotes. |
closes #12689