xbyak fix

This commit is contained in:
AlpinDale 2025-12-09 03:30:32 +04:30
parent 82accdb01d
commit 5ed8842d06
2 changed files with 5 additions and 6 deletions

View File

@ -239,9 +239,6 @@ find_package(toml11 4.2.0 CONFIG)
find_package(tsl-robin-map 1.3.0 CONFIG)
find_package(VulkanHeaders 1.4.329 CONFIG)
find_package(VulkanMemoryAllocator 3.1.0 CONFIG)
if(ARCHITECTURE STREQUAL "x86_64")
find_package(xbyak 7.07 CONFIG REQUIRED)
endif()
find_package(xxHash 0.8.2 MODULE)
find_package(ZLIB 1.3 MODULE)
find_package(Zydis 5.0.0 CONFIG)

View File

@ -112,9 +112,11 @@ if (NOT TARGET tsl::robin_map)
add_subdirectory(robin-map)
endif()
# Xbyak
if (NOT TARGET xbyak::xbyak)
add_subdirectory(xbyak)
# Xbyak (x86_64 only)
if (ARCHITECTURE STREQUAL "x86_64")
if (NOT TARGET xbyak::xbyak)
add_subdirectory(xbyak)
endif()
endif()
# MagicEnum