Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
It's ok to have only Python3_Interpreter.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 22 Nov 2020 20:22:42 +0000 (21:22 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 22 Nov 2020 20:22:42 +0000 (21:22 +0100)
CMakeLists.txt

index 34eca78..92465ca 100644 (file)
@@ -147,7 +147,7 @@ if(CMAKE_VERSION VERSION_LESS "3.12")
   endif()
 else()
   find_package(Python3 COMPONENTS Interpreter Development)
-  if(NOT Python3_FOUND)
+  if(NOT Python3_Interpreter_FOUND)
     message(FATAL_ERROR "Please install Python (version 3 or higher) to compile SimGrid.")
   endif()
   set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE})