Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
stop being cleaver when using cmake. This thing sometimes does its job
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 2 Sep 2016 12:02:27 +0000 (14:02 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 2 Sep 2016 12:02:27 +0000 (14:02 +0200)
CMakeLists.txt

index 61c9b47..7b75241 100644 (file)
@@ -145,7 +145,7 @@ set(PythonInterp_FIND_VERSION 3)
 set(PythonInterp_FIND_VERSION_COUNT 1)
 set(PythonInterp_FIND_VERSION_MAJOR 3)
 include(FindPythonInterp)
-if(NOT PYTHON_EXECUTABLE)
+if(NOT PYTHON_FOUND)
   message(FATAL_ERROR "Please install Python (version 3 or higher).")
 endif()