mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-24 06:16:10 +01:00
Try using Python 3 on Windows
This commit is contained in:
parent
0e805512e5
commit
61a315b622
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user