Don't use vcpkg on local macOS

This commit is contained in:
RickyRister 2025-10-05 03:29:38 -07:00
parent cff16346ef
commit aa4626be59
3 changed files with 12 additions and 3 deletions

View file

@ -66,6 +66,10 @@ while [[ $# != 0 ]]; do
shift
fi
;;
'--vcpkg')
USE_VCPKG=1
shift
;;
'--dir')
shift
if [[ $# == 0 ]]; then
@ -116,6 +120,9 @@ fi
if [[ $PACKAGE_TYPE ]]; then
flags+=("-DCPACK_GENERATOR=$PACKAGE_TYPE")
fi
if [[ $USE_VCPKG ]]; then
flags+=("-DUSE_VCPKG=1")
fi
# Add cmake --build flags
buildflags=(--config "$BUILDTYPE")