osx: Add option to build Qt on Metal build

This commit is contained in:
bparker06 2018-09-08 11:49:44 -04:00 committed by GitHub
parent fbaa46b877
commit b8116535fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -820,7 +820,11 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then
cd pkg/apple
if [ "${METAL}" == "1" ]; then
xcodebuild -project RetroArch_Metal.xcodeproj -target RetroArch -configuration Release | tee "$LOGFILE"
if [ "${METAL_QT}" == "1" ]; then
xcodebuild -project RetroArch_Metal.xcodeproj -target RetroArchQT -configuration Release | tee "$LOGFILE"
else
xcodebuild -project RetroArch_Metal.xcodeproj -target RetroArch -configuration Release | tee "$LOGFILE"
fi
else
xcodebuild -project RetroArch.xcodeproj -target RetroArch -configuration Release | tee "$LOGFILE"
fi