Only build tests if Qt5Test is found
This commit is contained in:
		
					parent
					
						
							
								86fb685877
							
						
					
				
			
			
				commit
				
					
						eef79c96a8
					
				
			
		
					 2 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -30,3 +30,7 @@ target_link_libraries(danbooru PUBLIC
 | 
			
		|||
install(TARGETS danbooru ${INSTALL_TARGETS_DEFAULT_ARGS})
 | 
			
		||||
 | 
			
		||||
add_subdirectory(tests)
 | 
			
		||||
 | 
			
		||||
if (Qt5Test_FOUND)
 | 
			
		||||
    add_subdirectory(autotests)
 | 
			
		||||
endif()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue