Skip to content

Commit 4b2ea1e

Browse files
committed
Build - fetch vcpkg based on latest release tag
This ensures everyone is building with the same vcpkg release. This will need to be tested and updated when new releases of vcpkg are available.
1 parent dcdcfd3 commit 4b2ea1e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/linux-prebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66
# Build vcpkg
77
if [ ! -d "vcpkg" ]; then
88
echo "Cloning vcpkg"
9-
git clone --single-branch --branch master https://github.com/microsoft/vcpkg.git vcpkg
9+
git clone --depth 1 --branch 2021.05.12 https://github.com/microsoft/vcpkg.git vcpkg
1010
fi
1111

1212
if [ ! -f "vcpkg/vcpkg" ]; then

app/mac-prebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66
# Build vcpkg
77
if [ ! -d "vcpkg" ]; then
88
echo "Cloning vcpkg"
9-
git clone --single-branch --branch master https://github.com/microsoft/vcpkg.git vcpkg
9+
git clone --depth 1 --branch 2021.05.12 https://github.com/microsoft/vcpkg.git vcpkg
1010
fi
1111

1212
if [ ! -f "vcpkg/vcpkg" ]; then

app/win-prebuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cd %~dp0
33
REM Build vcpkg
44
if not exist "vcpkg\" (
55
echo Cloning vcpkg
6-
git clone --single-branch --branch master https://github.com/microsoft/vcpkg vcpkg
6+
git clone --depth 1 --branch 2021.05.12 https://github.com/microsoft/vcpkg.git vcpkg
77
)
88

99
if not exist "vcpkg\vcpkg.exe" (

0 commit comments

Comments
 (0)