mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Require Python3 for running tests
This commit is contained in:
		@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user