Require msgpack 3.1.0

Since 3.1.0 msgpack ships a proper CMake package exporting a target
for the header-only C++ library. Allows us to get rid of our custom
find module.
This commit is contained in:
Dennis Klein
2018-08-30 15:56:32 +02:00
committed by Dennis Klein
parent 76aeb2c7e6
commit c02fbed331
3 changed files with 4 additions and 65 deletions

View File

@@ -222,7 +222,7 @@ target_include_directories(${_target}
# link libraries #
##################
if(BUILD_NANOMSG_TRANSPORT)
set(NANOMSG_DEPS nanomsg msgpack::msgpack)
set(NANOMSG_DEPS nanomsg msgpackc-cxx)
endif()
if(BUILD_OFI_TRANSPORT)
set(OFI_DEPS OFI::libfabric protobuf::libprotobuf $<TARGET_OBJECTS:OfiTransport>)