Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencv cmake changes #2

Closed
adennie opened this issue Dec 21, 2017 · 1 comment
Closed

opencv cmake changes #2

adennie opened this issue Dec 21, 2017 · 1 comment

Comments

@adennie
Copy link

adennie commented Dec 21, 2017

Hi, can you clarify the changes needed to the opencv cmake files?

I assume that the change to the root CMakeLists.txt is to change

OCV_OPTION(WITH_FFMPEG "Include FFMPEG support" ON IF (NOT ANDROID AND NOT IOS))
to
OCV_OPTION(WITH_FFMPEG "Include FFMPEG support" ON IF (NOT IOS))

But the needed change to OpenCVFindLibsVideo.cmake is not as obvious to me.
Thanks!

@xuchong
Copy link
Owner

xuchong commented Dec 22, 2017

@adennie This is my changes in opencv source when i build opencv with ffmpeg for android.

Wish it can help you.

The details you can found here:
https://gist.github.com/xuchong/31426c624bffd8802ecf17a830bfef53

You can also download the diff files.
diff.patch.txt

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

No branches or pull requests

2 participants