Add header-only target for msgpack

This commit is contained in:
Dennis Klein
2018-08-08 16:28:46 +02:00
committed by Dennis Klein
parent 4a8e46c65c
commit ab6fd35a86
2 changed files with 47 additions and 1 deletions

View File

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