Skip to content

Create a CMake option to control whether or not RTTI is enabled#8361

Merged
acozzette merged 1 commit intoprotocolbuffers:3.15.xfrom
floriansimon1:allow-disabling-rtti-from-cmake-command-line-3.15.x
Mar 2, 2021
Merged

Create a CMake option to control whether or not RTTI is enabled#8361
acozzette merged 1 commit intoprotocolbuffers:3.15.xfrom
floriansimon1:allow-disabling-rtti-from-cmake-command-line-3.15.x

Conversation

@floriansimon1
Copy link
Copy Markdown

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.

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
@google-cla google-cla Bot added the cla: yes label Mar 2, 2021
@acozzette acozzette merged commit 1add7a7 into protocolbuffers:3.15.x Mar 2, 2021
@floriansimon1 floriansimon1 deleted the allow-disabling-rtti-from-cmake-command-line-3.15.x branch March 2, 2021 21:49
@dkorchynskyi-axcient
Copy link
Copy Markdown

@floriansimon1 why the RTTI is now disabled by default?

@floriansimon1
Copy link
Copy Markdown
Author

This is a mistake. I flipped the logic incompletely. I will submit a PR to address this ASAP

This was referenced Mar 7, 2021
This was referenced Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants