From 47341878d252c0a2802930c80e14ecb6d9aa92a4 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 4 Oct 2019 13:58:33 +0200 Subject: [PATCH] Python 3 REQUIRED --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e698ab30..af2fa2faf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ if(WIN32) endif() # Python check -find_package(PythonInterp 3) +find_package(PythonInterp 3 REQUIRED) if(PYTHONINTERP_FOUND) message(STATUS "Python found, version: ${PYTHON_VERSION_STRING}") get_filename_component(PYTHON_DIRECTORY ${PYTHON_EXECUTABLE} DIRECTORY)