Skip to content

Commit d7b858b

Browse files
committed
Disable unused OpenCV protobuf dependency
1 parent a8a6147 commit d7b858b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build/Build-OpenCvDependency.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ if (-not (Test-Path $configureStamp)) {
196196
"-DBUILD_PACKAGE:BOOL=OFF",
197197
"-DWITH_OPENCL:BOOL=OFF",
198198
"-DOPENCV_DNN_OPENCL:BOOL=OFF",
199+
"-DBUILD_opencv_dnn:BOOL=OFF",
200+
"-DWITH_PROTOBUF:BOOL=OFF",
201+
"-DBUILD_PROTOBUF:BOOL=OFF",
199202
"-DBUILD_WITH_STATIC_CRT:BOOL=ON",
200203
"-DWITH_DIRECTX:BOOL=OFF",
201204
"-DWITH_DSHOW:BOOL=OFF",
@@ -209,7 +212,6 @@ if (-not (Test-Path $configureStamp)) {
209212
foreach ($configuration in $Configurations) {
210213
Write-Host "Building and installing OpenCV $Version ($configuration|$platformName)"
211214
$buildTargets = @(
212-
"libprotobuf",
213215
"opencv_core",
214216
"opencv_imgproc",
215217
"opencv_imgcodecs",

0 commit comments

Comments
 (0)