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()
|
endif()
|
||||||
|
|
||||||
if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT)
|
if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT)
|
||||||
find_package(PythonInterp)
|
find_package(Python3 COMPONENTS Interpreter)
|
||||||
if (NOT PYTHONINTERP_FOUND)
|
if (NOT PYTHONINTERP_FOUND)
|
||||||
message(FATAL_ERROR "Python not found, but required for tests")
|
message(FATAL_ERROR "Python not found, but required for tests")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user