mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Set CMakeLists to default to C++14 for our internal projects
This commit is contained in:
		@@ -138,7 +138,7 @@ add_executable( 207-Rpt-TeamCityReporter ${EXAMPLES_DIR}/207-Rpt-TeamCityReporte
 | 
			
		||||
foreach( name ${TARGETS_ALL} )
 | 
			
		||||
    target_include_directories( ${name} PRIVATE ${HEADER_DIR} ${CATCH_DIR} )
 | 
			
		||||
 | 
			
		||||
    set_property(TARGET ${name} PROPERTY CXX_STANDARD 11)
 | 
			
		||||
    set_property(TARGET ${name} PROPERTY CXX_STANDARD 14)
 | 
			
		||||
    set_property(TARGET ${name} PROPERTY CXX_EXTENSIONS OFF)
 | 
			
		||||
 | 
			
		||||
    # Add desired warnings
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user