diff options
| author | Victor Romero <romerosanchezv@gmail.com> | 2019-06-06 18:08:49 -0700 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-06-06 18:08:49 -0700 |
| commit | cef7f8b5a68ed4903abce0378d7e7864c411af47 (patch) | |
| tree | 040e97853dc691af7a4d30aa264ab9e087fd1df9 /scripts/cmake/vcpkg_from_github.cmake | |
| parent | 45e57f319657222eda39891fba73cb51b2cf3469 (diff) | |
| parent | da6d601d1c2161a455de0e572000633316962003 (diff) | |
| download | vcpkg-cef7f8b5a68ed4903abce0378d7e7864c411af47.tar.gz vcpkg-cef7f8b5a68ed4903abce0378d7e7864c411af47.zip | |
Merge branch 'master' of https://github.com/Microsoft/vcpkg into add_libraqm
Diffstat (limited to 'scripts/cmake/vcpkg_from_github.cmake')
| -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 48bfd828a..c0d657bbc 100644 --- a/scripts/cmake/vcpkg_from_github.cmake +++ b/scripts/cmake/vcpkg_from_github.cmake @@ -161,7 +161,7 @@ function(vcpkg_from_github) # Parse the github refs response with regex. # TODO: use some JSON swiss-army-knife utility instead. - file(READ "${ARCHIVE_VERSION}" _contents) + file(READ "${downloaded_file_path}.version" _contents) string(REGEX MATCH "\"sha\": \"[a-f0-9]+\"" x "${_contents}") string(REGEX REPLACE "\"sha\": \"([a-f0-9]+)\"" "\\1" _version ${x}) |
