From 76089d09a404f5348992605717653446943da5e9 Mon Sep 17 00:00:00 2001 From: Adrien Beraud <adrien.beraud@savoirfairelinux.com> Date: Mon, 10 Apr 2023 10:51:04 -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 5ecd0c6a..6860fd5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,7 @@ if (NOT MSVC) pkg_search_module (Nettle REQUIRED IMPORTED_TARGET nettle) check_include_file_cxx(msgpack.hpp HAVE_MSGPACKCXX) if (NOT HAVE_MSGPACKCXX) - find_package (msgpack REQUIRED CONFIG) + find_package (msgpack REQUIRED CONFIG NAMES msgpackc-cxx msgpack msgpack-cxx) endif() if (OPENDHT_TOOLS) find_package (Readline 6 REQUIRED) -- GitLab