aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Galt <johngaltfirstrun@gmail.com>2020-06-29 06:49:22 -0400
committerRealJohnGalt <johngalt@fake.mail>2020-06-29 07:10:07 -0400
commit765e37aa356d9398ee8d4b4eaac2fd35b065aa38 (patch)
treed78cd519939ec459ea052881d1e23d6e00af11b8
parentf84cbf6429926f5c0e9dcd7a7b26198d41343d4c (diff)
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.
-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 d120c8d3d9..1808f7e3fb 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -191,5 +191,5 @@ endif()
create_target_directory_groups(common)
find_package(Boost 1.71 COMPONENTS context headers REQUIRED)
-target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile)
+target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt microprofile)
target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak)