summaryrefslogtreecommitdiffstats
path: root/externals/CMakeLists.txt
blob: 7e4b05ffcbf16f84dea81f115956038c039324bc (plain) (blame)
1
2
3
4
5
6
7
8
# 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()