When I execute FindPythonLibs.cmake and FindPythonInterp.cmake on the
same system, they locate different Python installations. I am running
OS X with cmake 3.2.3. FindPythonLibs picks up the system-provided
python installation, while FindPythonInterp picks up the version of
Python I installed through MacPorts.

Is this the intended behavior? Is there a way to fix this? I don't
really care which version the modules pick up, but it would be nice if
they were internally consistent, as the version mis-match is leading
to subtle bugs. I can hardcode the paths to the desired libraries with
PYTHON_EXECUTABLE and PYTHON_LIBRARY, but that isn't very portable...

Thank you kindly for your advices!
-- 

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