Merge pull request #4119 from jamessan/minimum-msgpack-version

cmake: msgpack: Ensure at least version 1.0 is found
This commit is contained in:
Justin M. Keyes 2016-01-28 12:53:03 -05:00
commit 1574c4a115

View File

@ -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)