From 391c27496680c55d6fad20aa9c3dbb35035396c7 Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Fri, 25 May 2018 20:50:32 +0800 Subject: [PATCH] disable remove rpath from third party protoc (#10939) --- cmake/external/protobuf.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external/protobuf.cmake b/cmake/external/protobuf.cmake index 0fde4373a4b..2665996432b 100644 --- a/cmake/external/protobuf.cmake +++ b/cmake/external/protobuf.cmake @@ -212,6 +212,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST) ${CMAKE_COMMAND} ${PROTOBUF_SOURCES_DIR}/src/${TARGET_NAME}/cmake ${OPTIONAL_ARGS} -Dprotobuf_BUILD_TESTS=OFF + -DCMAKE_SKIP_RPATH=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${PROTOBUF_INSTALL_DIR} -- GitLab