CMakeLists: Disable dynarmic on ¬x86_64
This commit is contained in:
parent
6773546d5c
commit
2cd2a7491c
2 changed files with 18 additions and 10 deletions
12
externals/CMakeLists.txt
vendored
12
externals/CMakeLists.txt
vendored
|
@ -11,11 +11,13 @@ target_include_directories(catch-single-include INTERFACE catch/single_include)
|
|||
add_subdirectory(cryptopp)
|
||||
|
||||
# Dynarmic
|
||||
# Dynarmic will skip defining xbyak if it's already defined, we then define it below
|
||||
add_library(xbyak INTERFACE)
|
||||
option(DYNARMIC_TESTS OFF)
|
||||
set(DYNARMIC_NO_BUNDLED_FMT ON)
|
||||
add_subdirectory(dynarmic)
|
||||
if (ARCHITECTURE_x86_64)
|
||||
# Dynarmic will skip defining xbyak if it's already defined, we then define it below
|
||||
add_library(xbyak INTERFACE)
|
||||
option(DYNARMIC_TESTS OFF)
|
||||
set(DYNARMIC_NO_BUNDLED_FMT ON)
|
||||
add_subdirectory(dynarmic)
|
||||
endif()
|
||||
|
||||
# libfmt
|
||||
add_subdirectory(fmt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue