CMake: Re-use external xbyak target if present (#62)

This commit is contained in:
Yuri Kunde Schlesner 2016-12-12 06:23:42 -08:00 committed by Merry
parent 5bea2e1680
commit 34e19f135c
3 changed files with 8 additions and 3 deletions

View file

@ -107,3 +107,4 @@ target_link_libraries(dynarmic PRIVATE fmt-header-only)
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
target_compile_definitions(dynarmic PRIVATE FMT_USE_WINDOWS_H=0)
endif()
target_link_libraries(dynarmic PRIVATE xbyak)