naiveproxy/third_party/protobuf/cmake/protoc.cmake

7 lines
173 B
CMake
Raw Normal View History

2018-08-15 01:19:20 +03:00
set(protoc_files
${protobuf_source_dir}/src/google/protobuf/compiler/main.cc
)
add_executable(protoc ${protoc_files})
target_link_libraries(protoc libprotobuf libprotoc)