[cmake-developers] [PATCH] FindPythonLibs patches for version searching and frameworks

Brad King brad.king at kitware.com
Thu Sep 17 11:32:43 EDT 2015


On 09/17/2015 10:43 AM, David Gobbi wrote:
> It finds the install prefix for PYTHON_EXECUTABLE
> and uses it as a hint for the library location

Thanks.  I revised the previous patch slightly to add a prefix to
the _HINT temporary variable and unset it when finished:

 FindPythonLibs: Match include dir to library version
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a9d32dff

Then I made the same tweak to this patch and applied it:

 FindPythonLibs: Use python executable prefix as a hint
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f8bc4e11

-Brad



More information about the cmake-developers mailing list