Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0c2b82a9 authored by MIJIEUX Thomas's avatar MIJIEUX Thomas
Browse files

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

parent 8b867b97
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