summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-10-22 19:21:07 +0800
committerErik Kundiman <erik@megapahit.org>2024-10-22 19:21:07 +0800
commit47c33b4bd2acae02b0fc3a1dc68148e84962dae4 (patch)
tree8edbd7f93bc18538aa15fd4813a168b595dc3e45 /indra
parent9c3ffdc77a27e57eb867a377e899ff89ab15edcd (diff)
Regex for matching physics extension stub's http
Diffstat (limited to 'indra')
-rw-r--r--indra/cmake/Prebuilt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/Prebuilt.cmake b/indra/cmake/Prebuilt.cmake
index 4034599fde..051435e7cb 100644
--- a/indra/cmake/Prebuilt.cmake
+++ b/indra/cmake/Prebuilt.cmake
@@ -61,7 +61,7 @@ macro (use_prebuilt_binary _binary)
OUTPUT_STRIP_TRAILING_WHITESPACE
)
endif ("${package_url}" STREQUAL "")
- string(REGEX REPLACE "^https://(megapahit.net/downloads|github.com/secondlife|automated-builds-secondlife-com.s3.amazonaws.com/ct2).*/" "" package_name ${package_url})
+ string(REGEX REPLACE "^https?://(megapahit.net/downloads|github.com/secondlife|automated-builds-secondlife-com.s3.amazonaws.com/ct2).*/" "" package_name ${package_url})
file(DOWNLOAD
${package_url}
${CMAKE_BINARY_DIR}/${package_name}