aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/protoc.cmake
blob: 4f07c389c976777e7685beb8e321e7ffcb98fcff (plain)
1
2
3
4
5
6
set(protoc_files
  ${protobuf_source_dir}/src/google/protobuf/compiler/main.cc
)

add_executable(protoc ${protoc_files})
target_link_libraries(protoc libprotobuf libprotoc)