[nostalgia] Make vcpkg dir name specify platform

This commit is contained in:
2020-08-14 03:04:46 -05:00
parent 88bbcc34e2
commit 4ec7f2a24e
2 changed files with 8 additions and 7 deletions

View File

@ -4,6 +4,7 @@ set -e
target=$1
buildType=$2
vcpkg_dir=$3
project=$(pwd)/
@ -11,7 +12,7 @@ if [[ $target == gba ]]; then
toolchain="-DCMAKE_TOOLCHAIN_FILE=cmake/modules/GBA.cmake"
nostalgiaBuildType="GBA"
else
toolchain="-DCMAKE_TOOLCHAIN_FILE=.vcpkg/scripts/buildsystems/vcpkg.cmake"
toolchain="-DCMAKE_TOOLCHAIN_FILE=$vcpkg_dir/scripts/buildsystems/vcpkg.cmake"
nostalgiaBuildType="Native"
fi