From 179c144e56952cb2ca4d72aa93ed6496ae5d30ca Mon Sep 17 00:00:00 2001 From: Tom Janson Date: Thu, 24 Nov 2016 01:23:32 +0100 Subject: [PATCH] require Python >= 3.0 --- resources/3rdparty/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/3rdparty/CMakeLists.txt b/resources/3rdparty/CMakeLists.txt index 71449ca13..8d414ea64 100644 --- a/resources/3rdparty/CMakeLists.txt +++ b/resources/3rdparty/CMakeLists.txt @@ -5,8 +5,8 @@ set(STORM_3RDPARTY_SOURCE_DIR ${PROJECT_SOURCE_DIR}/resources/3rdparty) set(STORM_3RDPARTY_BINARY_DIR ${PROJECT_BINARY_DIR}/resources/3rdparty) if (STORM_PYTHON) - find_package(PythonInterp REQUIRED QUIET) - find_package(PythonLibs REQUIRED QUIET) + find_package(PythonInterp 3 REQUIRED QUIET) + find_package(PythonLibs 3 REQUIRED QUIET) message(STATUS "Python executable: ${PYTHON_EXECUTABLE}") message(STATUS "Python include: ${PYTHON_INCLUDE_DIRS}")