Building kdev-python: control python exec. search from command line?

René J.V. Bertin rjvbertin at gmail.com
Sat Feb 28 17:37:19 GMT 2015


On Friday February 27 2015 20:06:22 Sven Brauch wrote:

> Can't you pass e.g. CMAKE_PROGRAM_PATH on the command line?

To be honest I haven't tried. FindPythonInterp.cmake does

`find_program(PYTHON_EXECUTABLE NAMES ${_Python_NAMES})`

after constructing a list of candidates in _Python_NAMES. The Python exe I'm looking for *is* in/on the path, the issue is that the search hits on the wrong executable and then stops. Why this works OK on Linux is beyond me; the only difference I see there is that there's also a `python3` executable (link) that my OS X system doesn't have.

https://git.reviewboard.kde.org/r/122756/

R



More information about the KDevelop mailing list