naiveproxy/third_party/protobuf/cmake/protoc.cmake

7 lines
173 B
CMake
Raw Normal View History

2018-02-02 13:49:39 +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)