I suggest using FindPythonInterp.cmake instead of the raw `python` command in CMakeFiles.txt. So in Arch Linux, we can define `Python_ADDITIONAL_VERSIONS` variable to specify the python version.
It seems Ubuntu already supports `/usr/bin/python2` and `/usr/bin/env python2` for several releases, why not just use them instead of `/usr/bin/env python` in the Python scripts?
I suggest using FindPythonInter p.cmake instead of the raw `python` command in CMakeFiles.txt. So in Arch Linux, we can define `Python_ ADDITIONAL_ VERSIONS` variable to specify the python version.
It seems Ubuntu already supports `/usr/bin/python2` and `/usr/bin/env python2` for several releases, why not just use them instead of `/usr/bin/env python` in the Python scripts?