Add compilation option for C++11 in the root CMakeLists.txt
This commit is contained in:
		
							parent
							
								
									7ff0a4e515
								
							
						
					
					
						commit
						25ff155350
					
				@ -6,7 +6,8 @@ endif (POLICY CMP0048)
 | 
			
		||||
 | 
			
		||||
project(googletest-distribution)
 | 
			
		||||
set(GOOGLETEST_VERSION 1.9.0)
 | 
			
		||||
set(CMAKE_CXX_STANDARD 11 CACHE STRING "Set the C++ standard to be used for compiling")
 | 
			
		||||
 | 
			
		||||
add_compile_options(-std=c++11)
 | 
			
		||||
 | 
			
		||||
enable_testing()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user