Specify major version for Catch2
This commit is contained in:
		
					parent
					
						
							
								24a83dfa08
							
						
					
				
			
			
				commit
				
					
						4b474e21ed
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
project(testsRaiiSafeCuda CXX)
 | 
					project(testsRaiiSafeCuda CXX)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
find_package(Catch2)
 | 
					find_package(Catch2 3)
 | 
				
			||||||
if (NOT Catch2_FOUND)
 | 
					if (NOT Catch2_FOUND)
 | 
				
			||||||
    message(STATUS "Using FetchContent to download and use Catch2")
 | 
					    message(STATUS "Using FetchContent to download and use Catch2")
 | 
				
			||||||
    include(FetchContent)
 | 
					    include(FetchContent)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue