aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_from_git.cmake9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/cmake/vcpkg_from_git.cmake b/scripts/cmake/vcpkg_from_git.cmake
index bad5384ca..f114f6fc6 100644
--- a/scripts/cmake/vcpkg_from_git.cmake
+++ b/scripts/cmake/vcpkg_from_git.cmake
@@ -19,7 +19,7 @@
## This should be set to `SOURCE_PATH` by convention.
##
## ### URL
-## The url of the git repository. Must start with `https`.
+## The url of the git repository.
##
## ### REF
## The git sha of the commit to download.
@@ -49,13 +49,6 @@ function(vcpkg_from_git)
message(FATAL_ERROR "The git url must be specified")
endif()
- if( NOT _vdud_URL MATCHES "^https:")
- # vcpkg_from_git does not support a SHA256 parameter because hashing the git archive is
- # not stable across all supported platforms. The tradeoff is to require https to download
- # and the ref to be the git sha (i.e. not things that can change like a label)
- message(FATAL_ERROR "The git url must be https")
- endif()
-
if(NOT DEFINED _vdud_REF)
message(FATAL_ERROR "The git ref must be specified.")
endif()