Skip to content

Commit 391c274

Browse files
authored
disable remove rpath from third party protoc (#10939)
1 parent 83f4e9e commit 391c274

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
@@ -212,6 +212,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
212212
${CMAKE_COMMAND} ${PROTOBUF_SOURCES_DIR}/src/${TARGET_NAME}/cmake
213213
${OPTIONAL_ARGS}
214214
-Dprotobuf_BUILD_TESTS=OFF
215+
-DCMAKE_SKIP_RPATH=ON
215216
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
216217
-DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE}
217218
-DCMAKE_INSTALL_PREFIX=${PROTOBUF_INSTALL_DIR}

0 commit comments

Comments
 (0)