intel / parameter-framework

Plugin-based and rule-based framework for describing and controlling parameters
https://01.org/parameter-framework/
Other
60 stars 48 forks source link

Find python with FindPythonInterp #64

Closed krocard closed 8 years ago

krocard commented 9 years ago

The python interpreter is located with find_program(python2): https://github.com/01org/parameter-framework/blob/master/test/test-fixed-point-parameter/CMakeLists.txt#L29

A better way would be to use FindPythonInterp.cmake, setting Python_ADDITIONAL_VERSIONS to 2. See http://www.cbica.upenn.edu/sbia/software/basis/apidoc/latest/FindPythonInterp_8cmake.html

(it's an posible improvement, not a bug)

dawagner commented 8 years ago

Done.