aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEsun Kim <veblush@google.com>2019-11-04 17:05:51 -0800
committerEsun Kim <veblush@google.com>2019-11-04 17:05:51 -0800
commit8de389b9400be044107094a870c107756f2aeb65 (patch)
tree3eda56e6617325ee2df06a4a044fab1e4e38cab8 /cmake
parentf33a7645c58bd3c55673b277f85e66cbc44f796a (diff)
downloadgrpc-grpc-8de389b9400be044107094a870c107756f2aeb65.tar.gz
Update by review
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ssl.cmake4
-rw-r--r--cmake/zlib.cmake4
2 files changed, 8 insertions, 0 deletions
diff --git a/cmake/ssl.cmake b/cmake/ssl.cmake
index a983e98650..2c6a0adcd5 100644
--- a/cmake/ssl.cmake
+++ b/cmake/ssl.cmake
@@ -12,6 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# The CMakeLists.txt for BoringSSL doesn't propagate include directories
+# transitively so `_gRPC_SSL_INCLUDE_DIR` should be set for gRPC
+# to find header files.
+
if(gRPC_SSL_PROVIDER STREQUAL "module")
if(NOT BORINGSSL_ROOT_DIR)
set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl)
diff --git a/cmake/zlib.cmake b/cmake/zlib.cmake
index 794e47f7aa..858d3b42fe 100644
--- a/cmake/zlib.cmake
+++ b/cmake/zlib.cmake
@@ -12,6 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# The CMakeLists.txt for zlib doesn't propagate include directories
+# transitively so `_gRPC_ZLIB_INCLUDE_DIR` should be set for gRPC
+# to find header files.
+
if(gRPC_ZLIB_PROVIDER STREQUAL "module")
if(NOT ZLIB_ROOT_DIR)
set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib)