Skip to content

Fix install with external protobuf - #12741

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
georgymironov:fix-cmake-protobuf
Oct 4, 2018
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
georgymironov:fix-cmake-protobuf

Conversation

@georgymironov

Copy link
Copy Markdown
Contributor

This pullrequest changes

Adds IMPORTED for the protobuf::libprotobuf alias target as it otherwise produces an error during install:

CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_dnn" which requires target "libprotobuf" that is not in the export set.

cmake version: 3.10.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants