Try using Python 3 on Windows

This commit is contained in:
Martin Hořeňovský 2019-07-19 19:36:06 +02:00
parent 0e805512e5
commit 61a315b622
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -42,7 +42,7 @@ if(USE_WMAIN)
endif()
if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT)
find_package(PythonInterp)
find_package(Python3 COMPONENTS Interpreter)
if (NOT PYTHONINTERP_FOUND)
message(FATAL_ERROR "Python not found, but required for tests")
endif()