From e0aae7e0cacdc12815feccc83efb7a7f072836cb Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 2 Sep 2016 14:02:27 +0200 Subject: [PATCH] stop being cleaver when using cmake. This thing sometimes does its job --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61c9b47041..7b75241087 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() -- 2.20.1