f7e2e0b301
* Revert "Added cmake abseil include guard" This reverts commitb6ee841d7c
. * Revert "Update CMake configuration to add a dependency on Abseil (#9793)" This reverts commite9246cd789
.
14 lines
326 B
CMake
14 lines
326 B
CMake
set(protoc_files
|
|
${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/main.cc
|
|
)
|
|
|
|
add_executable(protoc ${protoc_files} ${protobuf_version_rc_file})
|
|
target_link_libraries(protoc
|
|
libprotoc
|
|
libprotobuf
|
|
)
|
|
add_executable(protobuf::protoc ALIAS protoc)
|
|
|
|
set_target_properties(protoc PROPERTIES
|
|
VERSION ${protobuf_VERSION})
|