summary refs log tree commit diff stats
path: root/proto/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'proto/CMakeLists.txt')
-rw-r--r--proto/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/proto/CMakeLists.txt b/proto/CMakeLists.txt new file mode 100644 index 0000000..c5abd46 --- /dev/null +++ b/proto/CMakeLists.txt
@@ -0,0 +1,11 @@
1find_package(Protobuf REQUIRED)
2
3add_library(protos)
4
5protobuf_generate(
6 LANGUAGE cpp
7 TARGET protos
8 PROTOS human.proto data.proto common.proto
9)
10
11target_link_libraries(protos PUBLIC protobuf::libprotobuf)