Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-05-06 12:39:26 +0200
committerMartin Hořeňovský2020-05-06 14:56:33 +0200
commit2ccc48e108bd64edeaf62f4745aa8b6437ab9c75 (patch)
treee3476f48cfce7b1c11957513eb07e465fd30a8c0
parent6020f8f27cf6d0c1c1ead6ee93f0c5b067e9f2c1 (diff)
downloadcatch3-2ccc48e108bd64edeaf62f4745aa8b6437ab9c75.tar.gz
Require Python3 for running tests
-rw-r--r--CMakeLists.txt2
-rw-r--r--appveyor.yml2
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: