Issue description:
When using cmake-gui
on Ubuntu to build the latest 'master' opencv from git, the Python binding cv2.cpython-36m-x86_64-linux-gnu.so
goes to a funky directory: /usr/local/python/cv2/
instead of: /usr/local/lib/python3.6/dist-packages/
.
I haven't found where in cmake-gui
we can change this?
The only path available is: PYTHON3_PACKAGES_PATH
which in my case was set to lib/python3.6/dist-packages
relative to /usr/local
of course.
So, it should have end up in the correct directory, I don't know why it doesn't.