mirror of
https://github.com/Toastconcern/FrameStudio.git
synced 2026-10-29 04:02:56 +01:00
GitHub's Windows runners are x64, so arm64 is a cross build. vcvarsall sets up the ARM64 compiler, but CMake still reported the build machine's own CPU (AMD64) as the target. astcenc then built its SSE4.1 version and opus turned on its x86 SIMD files, neither of which compiles for ARM. build_windows.bat now passes CMAKE_SYSTEM_NAME/CMAKE_SYSTEM_PROCESSOR whenever the target differs from the build machine (arm64 from x64, x86 from x64, x64 from an ARM PC). Checked with MSVC 14.51: arm64 failed before this and builds after it (the exe is ARM64); x86 and x64 still build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>