1set(protoc_files
2  ${protobuf_source_dir}/src/google/protobuf/compiler/main.cc
3)
4
5add_executable(protoc ${protoc_files})
6target_link_libraries(protoc libprotobuf libprotoc)
7