diff options
Diffstat (limited to 'proto/CMakeLists.txt')
-rw-r--r-- | proto/CMakeLists.txt | 11 |
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 @@ | |||
1 | find_package(Protobuf REQUIRED) | ||
2 | |||
3 | add_library(protos) | ||
4 | |||
5 | protobuf_generate( | ||
6 | LANGUAGE cpp | ||
7 | TARGET protos | ||
8 | PROTOS human.proto data.proto common.proto | ||
9 | ) | ||
10 | |||
11 | target_link_libraries(protos PUBLIC protobuf::libprotobuf) | ||