Mentions légales du service

Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!1Add a hint to help Cmake to find the correct python version(python2)
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment