diff options
author | Alexandre Bouvier <contact@amb.tf> | 2022-11-25 19:35:46 +0100 |
---|---|---|
committer | Alexandre Bouvier <contact@amb.tf> | 2022-12-04 17:09:25 +0100 |
commit | 8e17b5469fc7f5211fc3e24841896ea030adce84 (patch) | |
tree | c5baf2ed91c115c7f07063297d2cd611e73b6713 /src/common | |
parent | Merge pull request #9375 from jbeich/xbyak-no-install (diff) | |
download | yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.tar yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.tar.gz yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.tar.bz2 yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.tar.lz yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.tar.xz yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.tar.zst yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/CMakeLists.txt | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index a12edc584..6bdffcb7a 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -149,7 +149,7 @@ if(ARCHITECTURE_x86_64) x64/xbyak_abi.h x64/xbyak_util.h ) - target_link_libraries(common PRIVATE xbyak) + target_link_libraries(common PRIVATE xbyak::xbyak) endif() if (MSVC) @@ -174,17 +174,7 @@ endif() create_target_directory_groups(common) target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads) -if (TARGET lz4::lz4) - target_link_libraries(common PRIVATE lz4::lz4) -else() - target_link_libraries(common PRIVATE LZ4::lz4_shared) -endif() -if (TARGET zstd::zstd) - target_link_libraries(common PRIVATE zstd::zstd) -else() - target_link_libraries(common PRIVATE - $<IF:$<TARGET_EXISTS:zstd::libzstd_shared>,zstd::libzstd_shared,zstd::libzstd_static>) -endif() +target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd) if (YUZU_USE_PRECOMPILED_HEADERS) target_precompile_headers(common PRIVATE precompiled_headers.h) |