From 6342d4350a3b579a27989a9e5d5209fa55418134 Mon Sep 17 00:00:00 2001 From: Brenno Date: Thu, 17 Dec 2020 22:15:10 -0300 Subject: [PATCH] Fixed protobuf message compiling on Mac --- src/protobuf_messages/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protobuf_messages/CMakeLists.txt b/src/protobuf_messages/CMakeLists.txt index 5752a2160..af8239d88 100644 --- a/src/protobuf_messages/CMakeLists.txt +++ b/src/protobuf_messages/CMakeLists.txt @@ -27,6 +27,7 @@ # Dependencies find_package(Protobuf 3) +include_directories(${PROTOBUF_INCLUDE_DIRS}) file(GLOB ProtoFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.proto") PROTOBUF_GENERATE_CPP(ProtoSources ProtoHeaders ${ProtoFiles})