Hello,

I'm trying to build a project that uses FindPythonInterp.cmake to locate the 
python executable. Thing is that the system I'm working on has "python" 
pointing to a 2.7 install, while the project requires Python 3.x. Is there a 
way to influence the search from the command line? I tried

-DPYTHON_EXECUTABLE:PATH="/path/to/python3"

but that didn't cut it.

Am I going to have to patch the CMake file that invokes the FindPythonInterp 
routine instead?

Thanks,
R.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to