diff --git a/debian/rules b/debian/rules index ef0f9c1a82..cb4d2e4cb2 100755 --- a/debian/rules +++ b/debian/rules @@ -60,7 +60,7 @@ CMAKE_FLAGS = \ -D BUILD_TESTS=OFF \ -D BUILD_JAVA=OFF \ -D BUILD_PERF_TESTS=OFF \ - -D BUILD_PROTOBUF=OFF \ + -D BUILD_PROTOBUF=ON \ -D BUILD_INFO_SKIP_TIMESTAMP=ON \ -D BUILD_opencv_dnn=ON \ -D BUILD_opencv_dnn_modern=ON \ @@ -81,7 +81,6 @@ CMAKE_FLAGS = \ -D OPENCV_DOWNLOAD_TRIES_LIST= \ -D OPENCV_ENABLE_NONFREE=ON \ -D OpenGL_GL_PREFERENCE=GLVND \ - -D PROTOBUF_UPDATE_FILES=ON \ -D WITH_ADE=OFF \ -D WITH_CAROTENE=OFF \ -D WITH_CUDA=OFF \