mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Fix examples compilation for some combinations of Clang and libstdc++
This commit is contained in:
		@@ -85,6 +85,7 @@ foreach( name ${TARGETS_ALL} )
 | 
			
		||||
    target_include_directories( ${name} PRIVATE ${HEADER_DIR} )
 | 
			
		||||
 | 
			
		||||
    set_property(TARGET ${name} PROPERTY CXX_STANDARD 11)
 | 
			
		||||
    set_property(TARGET ${name} PROPERTY CXX_EXTENSIONS OFF)
 | 
			
		||||
 | 
			
		||||
    # Add desired warnings
 | 
			
		||||
    if ( CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang|GNU" )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user