-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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
Add CMake option to define GOOGLE_PROTOBUF_NO_RTTI #5541
Comments
That sounds like a good option to have; do you want to send a pull request with that change? |
Sure! |
acozzette
pushed a commit
that referenced
this issue
Mar 2, 2021
This is useful for Conan recipes that build Protobuf, in which whatever we want to enable has to be enabled in the initial command line. Without this, the people maintaining the recipe have to patch the CMake setup of Protobuf before building the binaries. Closes #5541
acozzette
pushed a commit
that referenced
this issue
Mar 2, 2021
This is useful for Conan recipes that build Protobuf, in which whatever we want to enable has to be enabled in the initial command line. Without this, the people maintaining the recipe have to patch the CMake setup of Protobuf before building the binaries. Closes #5541
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What language does this apply to?
C++
Describe the problem you are trying to solve.
I am integrating Protobuf into a C++ project that does not use RTTI. I am building Protobuf from source (with CMake) and I'd like to be able to set the
GOOGLE_PROTOBUF_NO_RTTI
flag when I configure the build.Describe the solution you'd like
I would like a CMake option to control whether or not
GOOGLE_PROTOBUF_NO_RTTI
gets defined.The text was updated successfully, but these errors were encountered: