From 113d6838b784a16f9648022e7e56ad5176ed3e4b Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 2 Sep 2016 14:30:30 +0200 Subject: [PATCH] cosmetics --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c9da4ada3..574a1b7860 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,10 +144,7 @@ endif() set(PythonInterp_FIND_VERSION 3) set(PythonInterp_FIND_VERSION_COUNT 1) set(PythonInterp_FIND_VERSION_MAJOR 3) -include(FindPythonInterp) -if(NOT PYTHONINTERP_FOUND) - message(FATAL_ERROR "Please install Python (version 3 or higher).") -endif() +include(FindPythonInterp REQUIRED) if (APPLE) set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") -- 2.20.1