Fix build of protobuf sources

This commit is contained in:
Dennis Klein
2018-04-17 20:22:53 +02:00
parent b9651437c3
commit c6ea5a5631

View File

@@ -9,3 +9,4 @@
protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS Control.proto)
add_library(OfiTransport OBJECT ${PROTO_SRCS} ${PROTO_HDRS})
target_include_directories(OfiTransport PRIVATE $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>)