Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use $PYTHON_EXECUTABLE in tesh files.
[simgrid.git] / examples / python / CMakeLists.txt
index d9dbfc9..cd933ff 100644 (file)
@@ -6,6 +6,7 @@ foreach(example actor-create actor-daemon actor-join actor-kill actor-migrate ac
   if(enable_python)
     ADD_TESH(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example}
                                --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
+                               --setenv pythoncmd=${PYTHON_EXECUTABLE}
                               --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
                               --setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib
                               --cd ${CMAKE_CURRENT_SOURCE_DIR}/${example}