summaryrefslogtreecommitdiffstats
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'externals/CMakeLists.txt')
-rw-r--r--externals/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index aa01acda8..dcf6c460f 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -10,6 +10,14 @@ target_include_directories(catch-single-include INTERFACE catch/single_include)
# Crypto++
add_subdirectory(cryptopp)
+# Dynarmic
+if (ARCHITECTURE_x86_64)
+ add_library(xbyak INTERFACE)
+ set(DYNARMIC_TESTS OFF)
+ set(DYNARMIC_NO_BUNDLED_FMT ON)
+ add_subdirectory(dynarmic)
+endif()
+
# libfmt
add_subdirectory(fmt)
@@ -49,7 +57,7 @@ target_include_directories(unicorn-headers INTERFACE ./unicorn/include)
# Xbyak
if (ARCHITECTURE_x86_64)
# Defined before "dynarmic" above
- add_library(xbyak INTERFACE)
+ # add_library(xbyak INTERFACE)
target_include_directories(xbyak INTERFACE ./xbyak/xbyak)
target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES)
endif()