mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-10-30 07:11:38 +00:00 
			
		
		
		
	Fix a few warnings.
This commit is contained in:
		
							parent
							
								
									6810be7315
								
							
						
					
					
						commit
						a7c970d324
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -7,3 +7,9 @@ BIN2H(SOURCE_FILE ${POWERUTILS_ROOT}/ppc_context.h HEADER_FILE "generated/ppc_co | |||
| add_executable(PowerRecomp "main.cpp" "pch.h" "recompiler.cpp" "recompiler.h" "test_recompiler.cpp" "test_recompiler.h" "recompiler_config.h" "recompiler_config.cpp") | ||||
| target_precompile_headers(PowerRecomp PUBLIC "pch.h") | ||||
| target_link_libraries(PowerRecomp PRIVATE LibPowerAnalyse tomlplusplus::tomlplusplus xxHash::xxhash) | ||||
| 
 | ||||
| if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") | ||||
|     target_compile_options(PowerRecomp PRIVATE -Wno-switch -Wno-unused-variable) | ||||
| endif() | ||||
| 
 | ||||
| target_compile_definitions(PowerRecomp PRIVATE _CRT_SECURE_NO_WARNINGS) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Skyth
						Skyth