From aea84977fd137896d09c2f6b2994bed8c8cd688a Mon Sep 17 00:00:00 2001
From: Adrien Beraud <adrien.beraud@savoirfairelinux.com>
Date: Mon, 10 Apr 2023 11:12:51 -0400
Subject: [PATCH] msgpack: support more package names

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e1030586..f709343c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -359,7 +359,7 @@ target_link_libraries(opendht
         ${FMT_LIBRARY}
 )
 if (NOT HAVE_MSGPACKCXX)
-    target_link_libraries(opendht PUBLIC MSGPACK_TARGET)
+    target_link_libraries(opendht PUBLIC ${MSGPACK_TARGET})
 endif()
 if (Jsoncpp_FOUND)
     target_link_libraries(opendht PUBLIC PkgConfig::Jsoncpp)
-- 
GitLab