Commit 69c025eb authored by David Wagner's avatar David Wagner Committed by Eric Laurent
Browse files

python: prefer 2.7.x and make sure interpreter and libs are aligned



CMake's find_package command makes it possible to specify a version.  Take
advantage of that to favor the interpreter's version to 2.7 and then pin the
library's version to the very same version as the interpreter.

This does not ensure that 2.7.x is used (e.g. if 2.7.x is not present, another
version will be used) but it helps a lot.

Signed-off-by: default avatarDavid Wagner <david.wagner@intel.com>
parent 07960899
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment