Hi folks,

While we're talking Python, I wrote a small patch to FindPythonLibs
that looks to see if PYTHON_VERSION_MAJOR and PYTHON_VERSION_MINOR are
set (by FindPythonInterp), and if so, it puts them in the python
versions list, after the user specified versions, but before the
Python3, Python2, and Python1 versions.

I know you want to redo the FindPython stuff, but I'm hoping this is a
small enough patch, with hopefully minimal side-effects, that will
help fix the CMake experience on both Fedora
(https://bugzilla.redhat.com/show_bug.cgi?id=876118) and Ubuntu as
well as any other other system that has newer libraries installed than
the default interpreter.

This appears to fix Bug #0013794.
http://public.kitware.com/Bug/view.php?id=13794

I have attached the patch as a file, but I can also do a pull request
or any other requested code submission process.

Adam Wolf
Wayne and Layne, LLC

Attachment: adamwwolf-FindPythonLibs.patch
Description: Binary data

--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to