Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
we use this variable later on
authorAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 22 Nov 2020 13:09:34 +0000 (14:09 +0100)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 22 Nov 2020 13:09:34 +0000 (14:09 +0100)
CMakeLists.txt

index 06992c3..4e05c8d 100644 (file)
@@ -150,6 +150,7 @@ else()
   if(NOT Python3_FOUND)
     message(FATAL_ERROR "Please install Python (version 3 or higher) to compile SimGrid.")
   endif()
+  set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE})
 endif()
 
 SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)