Skip to content

Commit

Permalink
Fix nrsc5 Building for iOS on Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
njfdev committed Aug 25, 2024
1 parent 64675fd commit b7ab46f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_scripts/run_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
import shutil
import glob

# prevent build errors on macOS Apple Silicon
os.environ.pop('IPHONEOS_DEPLOYMENT_TARGET', None)

# handle building nrsc5
if (not os.getenv("VITE_EXCLUDE_SIDECAR") == "true"):
if "win32" in sys.platform:
Expand All @@ -28,9 +31,6 @@
# handle building required libs
subprocess.run(["cmake", "../build_scripts"], check=True)

# prevent build errors on macOS Apple Silicon
os.environ.pop('IPHONEOS_DEPLOYMENT_TARGET', None)

subprocess.run(["cmake", "--build", "."], check=True)

# move all the files we need into dist
Expand Down

0 comments on commit b7ab46f

Please sign in to comment.