summaryrefslogtreecommitdiffstats
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-05-30 02:55:27 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-05-30 02:55:27 +0200
commitd0bdd26c26b72004144e656c9abc6232b80f3f60 (patch)
tree8349fdcf0167f5ee4534aa3a679fc872d4d604f1 /externals/CMakeLists.txt
parentMerge pull request #4007 from ReinUsesLisp/reduce-logs (diff)
downloadyuzu-d0bdd26c26b72004144e656c9abc6232b80f3f60.tar
yuzu-d0bdd26c26b72004144e656c9abc6232b80f3f60.tar.gz
yuzu-d0bdd26c26b72004144e656c9abc6232b80f3f60.tar.bz2
yuzu-d0bdd26c26b72004144e656c9abc6232b80f3f60.tar.lz
yuzu-d0bdd26c26b72004144e656c9abc6232b80f3f60.tar.xz
yuzu-d0bdd26c26b72004144e656c9abc6232b80f3f60.tar.zst
yuzu-d0bdd26c26b72004144e656c9abc6232b80f3f60.zip
Diffstat (limited to 'externals/CMakeLists.txt')
-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()