laurentkneip / opengv

OpenGV is a collection of computer vision methods for solving geometric vision problems. It is hosted and maintained by the Mobile Perception Lab of ShanghaiTech.
Other
1.01k stars 354 forks source link

Detect where to install the python module #80

Closed paulinus closed 5 years ago

paulinus commented 5 years ago

This PR stops assuming we are using Python 2 and uses ${PYTHON_EXECUTABLE} instead to find where to install the pyopengv module.

The detected location can still be overriden by setting the PYTHON_INSTALL_DIR cmake option.