mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
13 lines
394 B
Diff
13 lines
394 B
Diff
|
diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake
|
||
|
index 8835347d1d..473f5fd850 100644
|
||
|
--- a/cmake/OpenCVFindProtobuf.cmake
|
||
|
+++ b/cmake/OpenCVFindProtobuf.cmake
|
||
|
@@ -31,6 +31,7 @@ if(BUILD_PROTOBUF)
|
||
|
set(HAVE_PROTOBUF TRUE)
|
||
|
else()
|
||
|
unset(Protobuf_VERSION CACHE)
|
||
|
+ find_package(Protobuf CONFIG QUIET)
|
||
|
find_package(Protobuf QUIET)
|
||
|
|
||
|
# Backwards compatibility
|