[nostalgia] Make vcpkg dir name specify platform
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user