123456789101112131415161718192021 |
- --- a/cmake/OpenCVFindProtobuf.cmake
- +++ b/cmake/OpenCVFindProtobuf.cmake
- @@ -31,7 +31,7 @@ if(BUILD_PROTOBUF)
- set(HAVE_PROTOBUF TRUE)
- else()
- unset(Protobuf_VERSION CACHE)
- - find_package(Protobuf QUIET)
- + find_package(protobuf)
-
- # Backwards compatibility
- # Define camel case versions of input variables
- @@ -50,7 +50,7 @@ else()
- endforeach()
- # end of compatibility block
-
- - if(Protobuf_FOUND)
- + if(protobuf_FOUND)
- if(TARGET protobuf::libprotobuf)
- set(Protobuf_LIBRARIES "protobuf::libprotobuf")
- else()
|