Commit 0b2e6ce8 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'python_version_hint' into 'master'

Add a hint to help Cmake to find the correct python version(python2)

See merge request !1
parents 8b867b97 0c2b82a9
......@@ -157,6 +157,10 @@ endif()
# the target receives a -DPRECISION_p in its cflags.
#
include(ParseArguments)
# Add a hint to help Cmake to find the correct python version:
# (see https://cmake.org/cmake/help/v3.0/module/FindPythonInterp.html)
set(Python_ADDITIONAL_VERSIONS 2)
find_package(PythonInterp REQUIRED)
MACRO(precisions_rules_py)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment