How to compile OpenCV together with a CMake project?
Apparently the add_subdirectory
is not enough and I could find no documentation of how I should do it. I'd like to be able to compile OpenCV directly with my project instead of having to compile it separately and install globally into my system.
Thank you in advance.