build: Update to support multi-arch builds.

This commit is contained in:
Steveice10 2023-01-06 07:28:02 -08:00
parent 0e325255f3
commit a8848cce43
25 changed files with 114 additions and 66 deletions

View file

@ -37,12 +37,12 @@ option(FMT_INSTALL "" ON)
add_subdirectory(fmt)
# Xbyak
if (ARCHITECTURE_x86_64)
if ("x86_64" IN_LIST ARCHITECTURE)
add_subdirectory(xbyak)
endif()
# Dynarmic
if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64)
if ("x86_64" IN_LIST ARCHITECTURE OR "arm64" IN_LIST ARCHITECTURE)
set(DYNARMIC_TESTS OFF)
set(DYNARMIC_FRONTENDS "A32")
add_subdirectory(dynarmic)

2
externals/dynarmic vendored

@ -1 +1 @@
Subproject commit cd2bee17f20d8ec1df09f458c0f75114b65ed470
Subproject commit 9af4b970d302389829448a30608c7cb4fce9b662