aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindMsgpack.cmake
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-08-31 10:46:28 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-09-12 13:19:50 -0300
commite2143674ae20fbadbea004bd54d6f5dc32b83803 (patch)
tree0c14bff4b9019cdf314a9a96d947b127bd61e2d9 /cmake/FindMsgpack.cmake
parent042aca6eb4d0fe9e6ddf3bcfb96a39838b2633d1 (diff)
downloadrneovim-e2143674ae20fbadbea004bd54d6f5dc32b83803.tar.gz
rneovim-e2143674ae20fbadbea004bd54d6f5dc32b83803.tar.bz2
rneovim-e2143674ae20fbadbea004bd54d6f5dc32b83803.zip
deps: Update to the experimental msgpack v5 branch
Using msgpack v5 will let nvim be more compatible with msgpack libraries for other platforms. This also replaces "raw" references by "bin" which is the new name for msgpack binary data type
Diffstat (limited to 'cmake/FindMsgpack.cmake')
-rw-r--r--cmake/FindMsgpack.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/FindMsgpack.cmake b/cmake/FindMsgpack.cmake
index b2c89b13d1..6b3c8bb977 100644
--- a/cmake/FindMsgpack.cmake
+++ b/cmake/FindMsgpack.cmake
@@ -24,13 +24,13 @@ find_path(MSGPACK_INCLUDE_DIR msgpack.h
HINTS ${PC_MSGPACK_INCLUDEDIR} ${PC_MSGPACK_INCLUDE_DIRS}
${LIMIT_SEARCH})
-# If we're asked to use static linkage, add libmsgpackc.a as a preferred library name.
+# If we're asked to use static linkage, add libmsgpack.a as a preferred library name.
if(MSGPACK_USE_STATIC)
list(APPEND MSGPACK_NAMES
- "${CMAKE_STATIC_LIBRARY_PREFIX}msgpackc${CMAKE_STATIC_LIBRARY_SUFFIX}")
+ "${CMAKE_STATIC_LIBRARY_PREFIX}msgpack${CMAKE_STATIC_LIBRARY_SUFFIX}")
endif()
-list(APPEND MSGPACK_NAMES msgpackc)
+list(APPEND MSGPACK_NAMES msgpack)
find_library(MSGPACK_LIBRARY NAMES ${MSGPACK_NAMES}
HINTS ${PC_MSGPACK_LIBDIR} ${PC_MSGPACK_LIBRARY_DIRS}