I’m starting to build OpenCV from source and have been sifting through the cmake configuration options. In particular, in the OpenCV documenation, I noticed that “BUILD_PROTOBUF” defaults to “ON”.
- Is there a reason why BUILD_PROTOBUF is enabled by default?
- Is it best practice to install 3rd-party libraries via my system package manager? Or should we favor the bundled libraries?
- If I have have already installed protobuf binaries (let’s say from package manager), will I need to explicitly disable “BUILD_” options? Or can cmake detect this?
Thanks for any help.