7 lines
173 B
CMake
7 lines
173 B
CMake
|
set(protoc_files
|
||
|
${protobuf_source_dir}/src/google/protobuf/compiler/main.cc
|
||
|
)
|
||
|
|
||
|
add_executable(protoc ${protoc_files})
|
||
|
target_link_libraries(protoc libprotobuf libprotoc)
|