Skip to content

Commit f7c8287

Browse files
committed
add lack dependency to zlib
1 parent 2b0b18d commit f7c8287

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/external/protobuf.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ ExternalProject_Add(
5454
CONFIGURE_COMMAND
5555
${CMAKE_COMMAND} ${PROTOBUF_SOURCES_DIR}/src/protobuf/cmake
5656
-Dprotobuf_BUILD_TESTS=OFF
57+
-DZLIB_ROOT:FILEPATH=${ZLIB_ROOT}
5758
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
5859
-DCMAKE_BUILD_TYPE=Release
5960
-DCMAKE_INSTALL_PREFIX=${PROTOBUF_INSTALL_DIR}

0 commit comments

Comments
 (0)