Dependency on protobuf when compiling without protoc compiler with CMake build · Issue #727 · protobuf-c/protobuf-c · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the cmake build, protobuf is currently required even when not building the protoc compiler (with option -DBUILD_PROTOC=OFF and -DBUILD_TESTS=OFF). Is this dependency necessary in this case? Looking at the autotools version it doesn't seem so.
I'm currently trying to build the protobuf-c library without the compiler and removing the protobuf dependency (changed CMakeLists.txt in my fork by requiring it only when building protoc) doesn't seem to yield any problem.
The text was updated successfully, but these errors were encountered:
In the cmake build,
protobuf
is currently required even when not building theprotoc
compiler (with option-DBUILD_PROTOC=OFF
and-DBUILD_TESTS=OFF
). Is this dependency necessary in this case? Looking at the autotools version it doesn't seem so.I'm currently trying to build the
protobuf-c
library without the compiler and removing the protobuf dependency (changed CMakeLists.txt in my fork by requiring it only when buildingprotoc
) doesn't seem to yield any problem.The text was updated successfully, but these errors were encountered: