aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindMsgpack.cmake
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-03-04 17:26:24 +0100
committerGitHub <noreply@github.com>2023-03-04 17:26:24 +0100
commit46c4cbced567f5f05f2c95b91cd90084ea8b5528 (patch)
tree553acf1424c033432cf2fe9a471776be0fa7ee67 /cmake/FindMsgpack.cmake
parentbc26f23e5ae49f54b4fbd18f692f300254e454eb (diff)
downloadrneovim-46c4cbced567f5f05f2c95b91cd90084ea8b5528.tar.gz
rneovim-46c4cbced567f5f05f2c95b91cd90084ea8b5528.tar.bz2
rneovim-46c4cbced567f5f05f2c95b91cd90084ea8b5528.zip
build(deps): bump msgpack-c to v6.0.0 (#22522)
* Remove C++ requirement if test is disabled * Change CMake package name of C library to msgpack-c * Unified all C package, library, cmake, tarball name become msgpack-c.
Diffstat (limited to 'cmake/FindMsgpack.cmake')
-rw-r--r--cmake/FindMsgpack.cmake9
1 files changed, 1 insertions, 8 deletions
diff --git a/cmake/FindMsgpack.cmake b/cmake/FindMsgpack.cmake
index b1888560c3..a2b0174f8d 100644
--- a/cmake/FindMsgpack.cmake
+++ b/cmake/FindMsgpack.cmake
@@ -10,14 +10,7 @@ else()
set(MSGPACK_VERSION_STRING)
endif()
-if(MSVC)
- # The import library for the msgpack DLL has a different name
- list(APPEND MSGPACK_NAMES msgpackc_import)
-else()
- list(APPEND MSGPACK_NAMES msgpackc msgpack)
-endif()
-
-find_library(MSGPACK_LIBRARY NAMES ${MSGPACK_NAMES}
+find_library(MSGPACK_LIBRARY NAMES msgpackc msgpack msgpackc_import msgpack-c
NAMES_PER_DIR)
mark_as_advanced(MSGPACK_INCLUDE_DIR MSGPACK_LIBRARY)