X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/487f9800ac68f0dd5659ab0d5c6dc218dea9a141..98152b5047c19637dc5c1949092867682e8f1611:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 34eca7855d..92465ca2fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})