diff options
author | 2018-01-28 03:32:16 +0100 | |
---|---|---|
committer | 2018-01-28 03:44:32 +0100 | |
commit | 93f13871d8e86d00bcf5fbb14981071f77836905 (patch) | |
tree | 896b46b371e5e12b7f5388409a8ece10e193402c /test/distrib/python | |
parent | 461cf30159c0ada954e8e2a4e6591694f617809c (diff) |
Fix helloworld zlib include directory confusion in run_distrib_test_cmake.bat
We have to give cmake the explicit zlib location as the internal testing
environment has C:/msys64/usr/bin in the PATH and zlib-devel installed.
cmake has heuristics in find_package which sees this /bin suffix in PATH
and adds C:/msys64/usr/ to the find_package search locations. Doing a
find_package(zlib) in this environment makes the find module for it (FindZLIB)
find the header zlib.h in C:/msys64/usr/include while the library will still
be taken from the testinstall location masking the issue in the log. To satisfy
the dependency cmake adds C:/msys64/usr/include as an include directory. This
makes cl.exe build with mixed C and C++ standard lib headers breaking the
build.
This issue was previously masked by cmake writing absolute paths for zlib and
other dependencies into the grpc cmake exports.
Diffstat (limited to 'test/distrib/python')
0 files changed, 0 insertions, 0 deletions