8000 Dependency on protobuf when compiling without protoc compiler with CMake build · Issue #727 · protobuf-c/protobuf-c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dependency on protobuf when compiling without protoc compiler with CMake build #727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nortio opened this issue Jul 4, 2024 · 0 comments

Comments

@nortio
Copy link
nortio commented Jul 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0