mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Add Android's log library to Catch2's CMake interface
This commit is contained in:
		@@ -92,6 +92,10 @@ target_include_directories(Catch2
 | 
			
		||||
    $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
if (ANDROID)
 | 
			
		||||
    target_link_libraries(Catch2 INTERFACE log)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
# provide a namespaced alias for clients to 'link' against if catch is included as a sub-project
 | 
			
		||||
add_library(Catch2::Catch2 ALIAS Catch2)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user