suyu/externals/CMakeLists.txt
Yuri Kunde Schlesner 17fccb8c5d Externals: Add Xbyak
2016-12-14 20:06:08 -08:00

9 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()