aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-01-28 09:01:05 -0500
committerJames McCoy <jamessan@jamessan.com>2016-01-28 09:01:05 -0500
commit33bc33274ac9c82489766de6933a50c4d8ebc3a3 (patch)
treedffbcd7353029a938f7d127245479897f25ac6d8
parent50393ef17831a24a57e68812f9cadf186c650ab9 (diff)
downloadrneovim-33bc33274ac9c82489766de6933a50c4d8ebc3a3.tar.gz
rneovim-33bc33274ac9c82489766de6933a50c4d8ebc3a3.tar.bz2
rneovim-33bc33274ac9c82489766de6933a50c4d8ebc3a3.zip
cmake: msgpack: Ensure at least version 1.0 is found
Neovim's code relies on functionality introduced in msgpack-c 1.0.0 (at least MSGPACK_OBJECT_FLOAT enum value), so enforce that minimum version.
-rw-r--r--cmake/FindMsgpack.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindMsgpack.cmake b/cmake/FindMsgpack.cmake
index fbd107e45a..60afc88839 100644
--- a/cmake/FindMsgpack.cmake
+++ b/cmake/FindMsgpack.cmake
@@ -7,7 +7,7 @@
if(NOT MSGPACK_USE_BUNDLED)
find_package(PkgConfig)
if (PKG_CONFIG_FOUND)
- pkg_search_module(PC_MSGPACK QUIET msgpackc msgpack)
+ pkg_search_module(PC_MSGPACK QUIET msgpackc>=1.0 msgpack>=1.0)
endif()
else()
set(PC_MSGPACK_INCLUDEDIR)