mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Use proper linkage between Catch2Main and Catch2
This commit is contained in:
		@@ -266,7 +266,7 @@ add_library(Catch2Main STATIC
 | 
			
		||||
    ${SOURCES_DIR}/catch_main.cpp
 | 
			
		||||
)
 | 
			
		||||
add_library(Catch2::Catch2Main ALIAS Catch2Main)
 | 
			
		||||
target_link_libraries(Catch2Main INTERFACE Catch2)
 | 
			
		||||
target_link_libraries(Catch2Main PUBLIC Catch2)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user