Modify CMakeLists.txt to handle python only installation

Merged Olivier Stasse requested to merge ostasse/sot-talos-balance:devel into devel

Do not do any installation when building a python only module.

Edited by Gabriele Buondonno

Merge request reports