From 2ccc48e108bd64edeaf62f4745aa8b6437ab9c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Wed, 6 May 2020 12:39:26 +0200 Subject: [PATCH] Require Python3 for running tests --- CMakeLists.txt | 2 +- appveyor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad069449..bf2760f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,7 @@ add_subdirectory(src) # Build tests only if requested if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT) - find_package(PythonInterp) + find_package(PythonInterp 3 REQUIRED) if (NOT PYTHONINTERP_FOUND) message(FATAL_ERROR "Python not found, but required for tests") endif() diff --git a/appveyor.yml b/appveyor.yml index 8e57a59c..264794fd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,7 +13,7 @@ branches: # We need a more up to date pip because Python 2.7 is EOL soon init: - - set PATH=C:\Python35\Scripts;%PATH% + - set PATH=C:\Python35;C:\Python35\Scripts;%PATH% install: