[CMake] use PYTHON_INSTALL_ON_SITE
PYTHON_INSTALL_ON_SITE
does the PYTHON_BUILD
and the INSTALL
in an unified way, but they require to have the same arguments. Then, we have to put the CMakeLists in a parent folder of the module, as python
, or bindings/python
.
This follows discussions in https://github.com/jrl-umi3218/jrl-cmakemodules/issues/136