mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Switch to C++14 to use std::make_unique
This commit is contained in:
		
							parent
							
								
									b5d9f7364e
								
							
						
					
					
						commit
						731b31fe97
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -5,7 +5,8 @@ cmake_minimum_required(VERSION 2.8.11) | |||
| project(citra) | ||||
| 
 | ||||
| if (NOT MSVC) | ||||
|     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes") | ||||
|     # -std=c++14 is only supported on very new compilers, so use the old c++1y alias instead. | ||||
|     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wno-attributes") | ||||
| else() | ||||
|     # Silence deprecation warnings | ||||
|     add_definitions(/D_CRT_SECURE_NO_WARNINGS) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue