mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-30 11:57:51 +00:00
8 lines
260 B
CMake
8 lines
260 B
CMake
# Xbyak
|
|
if (ARCHITECTURE_x86_64)
|
|
add_library(xbyak INTERFACE)
|
|
target_include_directories(xbyak INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/xbyak/xbyak)
|
|
if (NOT MSVC)
|
|
target_compile_options(xbyak INTERFACE -fno-operator-names)
|
|
endif()
|
|
endif()
|