Skip to content
Snippets Groups Projects
Unverified Commit 7fda6de5 authored by liushuyu's avatar liushuyu
Browse files

common: do not link to xbyak on non-amd64 architectures

parent 1be456db
No related branches found
No related tags found
No related merge requests found
...@@ -166,6 +166,7 @@ if(ARCHITECTURE_x86_64) ...@@ -166,6 +166,7 @@ if(ARCHITECTURE_x86_64)
x64/xbyak_abi.h x64/xbyak_abi.h
x64/xbyak_util.h x64/xbyak_util.h
) )
target_link_libraries(common PRIVATE xbyak)
endif() endif()
if (MSVC) if (MSVC)
...@@ -189,7 +190,7 @@ endif() ...@@ -189,7 +190,7 @@ endif()
create_target_directory_groups(common) create_target_directory_groups(common)
target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads) target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads)
target_link_libraries(common PRIVATE lz4::lz4 xbyak) target_link_libraries(common PRIVATE lz4::lz4)
if (TARGET zstd::zstd) if (TARGET zstd::zstd)
target_link_libraries(common PRIVATE zstd::zstd) target_link_libraries(common PRIVATE zstd::zstd)
else() else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment