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:
parent
65ef866004
commit
8e88fd3289
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user