Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Straighten out the protobuf-cpp vs zlib mess.
The protobuf-cpp CMakefile uses find_package() to detect zlib. For some reason, CMake decides to add the include path of zlib's headers with -isystem. This is bad, as it causes us to include <math.h> and friends in the wrong order. Pass in CMAKE_NO_SYSTEM_FROM_IMPORTED to CMake to prevent it from adding -isystem flags.
- Loading branch information