mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	CMakeLists: Use target_compile_definitions instead of add_definitions to define YUZU_ENABLE_COMPATIBILITY_REPORTING
Keeps the definition constrained to the citra_qt target and prevents polluting anything else in the same directory (should that ever happen). It also keeps it consistent with how the USE_DISCORD_PRESENCE definition is introduced below it.
This commit is contained in:
		
							parent
							
								
									129ca865b3
								
							
						
					
					
						commit
						6147bb622d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -209,7 +209,7 @@ target_link_libraries(citra-qt PRIVATE Boost::boost glad nihstro-headers Qt5::Op | ||||||
| target_link_libraries(citra-qt PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads) | target_link_libraries(citra-qt PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads) | ||||||
| 
 | 
 | ||||||
| if (CITRA_ENABLE_COMPATIBILITY_REPORTING) | if (CITRA_ENABLE_COMPATIBILITY_REPORTING) | ||||||
|     add_definitions(-DCITRA_ENABLE_COMPATIBILITY_REPORTING) |     target_compile_definitions(citra-qt PRIVATE -DCITRA_ENABLE_COMPATIBILITY_REPORTING) | ||||||
| endif() | endif() | ||||||
| 
 | 
 | ||||||
| if (USE_DISCORD_PRESENCE) | if (USE_DISCORD_PRESENCE) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue