mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Merge pull request #4806 from FearlessTobi/port-2450
Port yuzu-emu/yuzu#2450: "CMakeLists: Explicitly specify -Wall for the non-MSVC case"
This commit is contained in:
		
						commit
						c81a96b0da
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -48,7 +48,10 @@ if (MSVC) | ||||||
|     set(CMAKE_EXE_LINKER_FLAGS_DEBUG   "/DEBUG /MANIFEST:NO" CACHE STRING "" FORCE) |     set(CMAKE_EXE_LINKER_FLAGS_DEBUG   "/DEBUG /MANIFEST:NO" CACHE STRING "" FORCE) | ||||||
|     set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE) |     set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE) | ||||||
| else() | else() | ||||||
|     add_compile_options("-Wno-attributes") |     add_compile_options( | ||||||
|  |         -Wall | ||||||
|  |         -Wno-attributes | ||||||
|  |     ) | ||||||
| 
 | 
 | ||||||
|     if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) |     if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) | ||||||
|         add_compile_options("-stdlib=libc++") |         add_compile_options("-stdlib=libc++") | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue