diff options
Diffstat (limited to 'cmake/protoc.cmake')
-rw-r--r-- | cmake/protoc.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/protoc.cmake b/cmake/protoc.cmake new file mode 100644 index 00000000..4f07c389 --- /dev/null +++ b/cmake/protoc.cmake @@ -0,0 +1,6 @@ +set(protoc_files + ${protobuf_source_dir}/src/google/protobuf/compiler/main.cc +) + +add_executable(protoc ${protoc_files}) +target_link_libraries(protoc libprotobuf libprotoc) |