summaryrefslogtreecommitdiffstats
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-05-30 03:38:34 +0200
committerGitHub <noreply@github.com>2020-05-30 03:38:34 +0200
commit9d9ffe0f9461ffa3b2e183b17a08953ada0ee91b (patch)
tree8349fdcf0167f5ee4534aa3a679fc872d4d604f1 /externals/CMakeLists.txt
parentMerge pull request #4007 from ReinUsesLisp/reduce-logs (diff)
parentAdd xbyak external (diff)
downloadyuzu-9d9ffe0f9461ffa3b2e183b17a08953ada0ee91b.tar
yuzu-9d9ffe0f9461ffa3b2e183b17a08953ada0ee91b.tar.gz
yuzu-9d9ffe0f9461ffa3b2e183b17a08953ada0ee91b.tar.bz2
yuzu-9d9ffe0f9461ffa3b2e183b17a08953ada0ee91b.tar.lz
yuzu-9d9ffe0f9461ffa3b2e183b17a08953ada0ee91b.tar.xz
yuzu-9d9ffe0f9461ffa3b2e183b17a08953ada0ee91b.tar.zst
yuzu-9d9ffe0f9461ffa3b2e183b17a08953ada0ee91b.zip
Diffstat (limited to '')
-rw-r--r--externals/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 0b40cd1b0..df7a5e0a9 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -75,3 +75,11 @@ if (ENABLE_WEB_SERVICE)
target_compile_definitions(httplib INTERFACE -DCPPHTTPLIB_OPENSSL_SUPPORT)
target_link_libraries(httplib INTERFACE OpenSSL::SSL OpenSSL::Crypto)
endif()
+
+if (NOT TARGET xbyak)
+ if (ARCHITECTURE_x86 OR ARCHITECTURE_x86_64)
+ add_library(xbyak INTERFACE)
+ target_include_directories(xbyak SYSTEM INTERFACE ./xbyak/xbyak)
+ target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES)
+ endif()
+endif()