CMakeLists: Rework architecture detection

* Also only enable xybak/vixl on appropriate architectures
This commit is contained in:
MerryMage
2020-06-11 13:15:13 +01:00
parent 3d418e9a4f
commit 52a9af3dca
4 changed files with 52 additions and 17 deletions

View File

@@ -250,7 +250,7 @@ if ("A64" IN_LIST DYNARMIC_FRONTENDS)
)
endif()
if (ARCHITECTURE_x86_64)
if (ARCHITECTURE STREQUAL "x86_64")
target_sources(dynarmic PRIVATE
backend/x64/abi.cpp
backend/x64/abi.h