diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2021-09-02 02:10:22 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-01 11:10:22 -0700 |
| commit | 021e10a7d5a9e67258e4a473d8961a2d6c801bea (patch) | |
| tree | 2afa784e296939ff7e010edb526f8772b3aaa8cb /scripts | |
| parent | c283f5748f377a7f4fce81d909d5993994baef1f (diff) | |
| download | vcpkg-021e10a7d5a9e67258e4a473d8961a2d6c801bea.tar.gz vcpkg-021e10a7d5a9e67258e4a473d8961a2d6c801bea.zip | |
[vcpkg_from_github] Fix version regex matching issue (#19815)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmake/vcpkg_from_github.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_from_github.cmake b/scripts/cmake/vcpkg_from_github.cmake index 68c4e2370..2dae0ba50 100644 --- a/scripts/cmake/vcpkg_from_github.cmake +++ b/scripts/cmake/vcpkg_from_github.cmake @@ -160,7 +160,7 @@ function(vcpkg_from_github) # Parse the github refs response with regex. # TODO: add json-pointer support to vcpkg file(READ "${archive_version}" version_contents) - if(NOT version_contents MATCHES [["sha": "([a-f0-9]+)"]]) + if(NOT version_contents MATCHES [["sha":"([a-f0-9]+)"]]) message(FATAL_ERROR "Failed to parse API response from '${version_url}': ${version_contents} |
