summarylogtreecommitdiffstats
path: root/010-tensorrt-use-local-protobuf-sources.patch
blob: 0b5e794bf87cfadfd5bad656309ed5b50bf5b03c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/third_party/protobuf.cmake
+++ b/third_party/protobuf.cmake
@@ -20,7 +20,7 @@ include(ExternalProject)
 # with the include dir and binaries imported
 macro(configure_protobuf VERSION)
     set(protobufPackage "protobuf-cpp-${VERSION}.tar.gz")
-    set(Protobuf_PKG_URL "https://github.com/google/protobuf/releases/download/v${VERSION}/${protobufPackage}")
+    set(Protobuf_PKG_URL "./protobuf-cpp-${VERSION}.tar.gz")
     set(Protobuf_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR})
     set(Protobuf_TARGET third_party.protobuf)