-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ENABLE_PYPROTO_API option to CMake build, clean up compilation
The PYBIND11_PROTOBUF_ENABLE_PYPROTO_API define was never set in CMake builds, add a corresponding option. As the check_unknown_fields code is only called dependent on the define remove it from the build if not used.
- Loading branch information
1 parent
4cdd828
commit 72eaae5
Showing
1 changed file
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters