mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
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.
This commit is contained in:
parent
50393ef178
commit
33bc33274a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user