We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f77ab4 commit eae6edaCopy full SHA for eae6eda
cmake/protobuf.cmake
@@ -5,4 +5,7 @@ macro(configure_protobuf)
5
option(protobuf_BUILD_SHARED_LIBS "" ON)
6
option(protobuf_BUILD_PROTOC_BINARIES "" ON)
7
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/protobuf/cmake)
8
+ add_executable(protobuf::protoc ALIAS protoc)
9
+ add_library(protobuf::libprotobuf ALIAS libprotobuf)
10
+ add_library(protobuf::libprotobuf-lite ALIAS libprotobuf-lite)
11
endmacro()
0 commit comments