Add support for msgpack-c v1.4.0

msgpack-c now provides libmsgpackc (note the c at the end), so build will fail if we set ENABLE_SYSTEM_MSGPACK to true.

This fixes that.
This commit is contained in:
Alfredo Ramos 2016-01-24 17:08:29 -06:00
parent 65ef866004
commit 8e88fd3289

View File

@ -24,7 +24,7 @@ ENDIF ()
FIND_PATH(MSGPACK_INCLUDE_DIR msgpack.hpp)
FIND_LIBRARY(MSGPACK_LIBRARY NAMES msgpack PATHS)
FIND_LIBRARY(MSGPACK_LIBRARY NAMES msgpack msgpackc PATHS)
MARK_AS_ADVANCED(MSGPACK_INCLUDE_DIR MSGPACK_LIBRARY)