summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar John Galt2020-06-29 06:49:22 -0400
committerGravatar RealJohnGalt2020-06-29 07:10:07 -0400
commit765e37aa356d9398ee8d4b4eaac2fd35b065aa38 (patch)
treed78cd519939ec459ea052881d1e23d6e00af11b8 /src
parentMerge pull request #4140 from ReinUsesLisp/validation-layers (diff)
downloadyuzu-765e37aa356d9398ee8d4b4eaac2fd35b065aa38.tar.gz
yuzu-765e37aa356d9398ee8d4b4eaac2fd35b065aa38.tar.xz
yuzu-765e37aa356d9398ee8d4b4eaac2fd35b065aa38.zip
cmake: fix fmt linking
On gcc/ld, and clang/lld, fmt::v6 symbols are excluded, so linking fails. This fixes the issue. Note: This was included in the FindBoost changes I shared with BlinkHawk, however only they were merged. I'm not sure if it was missed, or if there was an issue with this part of the change.
Diffstat (limited to 'src')
-rw-r--r--src/common/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index d120c8d3d..1808f7e3f 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -191,5 +191,5 @@ endif()
191create_target_directory_groups(common) 191create_target_directory_groups(common)
192find_package(Boost 1.71 COMPONENTS context headers REQUIRED) 192find_package(Boost 1.71 COMPONENTS context headers REQUIRED)
193 193
194target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile) 194target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt microprofile)
195target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak) 195target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak)