Consider I have two OSes, both ubuntu linux. I cloned opencv and opencv_contrib and ran cmake ..
and make
.
These two steps create the necessary binaries in the folder build.
Now I copy this build folder on another OS and then run make install
inside build folder. Will it be able to install these libraries?
I am doing this to get a non-bloated OS which happened when I built it on the first OS.