add git fetch before cmake configure

This commit is contained in:
Lion Kortlepel
2023-12-05 13:35:29 +01:00
parent 599c407d77
commit fc6655f104

View File

@@ -2,4 +2,6 @@
set -ex
git fetch -C vcpkg
cmake ${1:-.} -B bin -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -s -Wl,-z,norelro -Wl,--hash-style=gnu -Wl,--build-id=none -Wl,-z,noseparate-code -ffunction-sections -fdata-sections -Wl,--gc-sections" -DBeamMP-Server_ENABLE_LTO=ON || cat "$SOURCE"/server/bin/vcpkg-bootstrap.log