gamemode: Fix compile issues (#7276)
The Linux build fails to compile because gamemode will try to link against `common` when it's not needed.
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							f177433d41
						
					
				
				
					commit
					dccb8f6b17
				
			
							
								
								
									
										2
									
								
								externals/gamemode/CMakeLists.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								externals/gamemode/CMakeLists.txt
									
									
									
									
										vendored
									
									
								
							@@ -5,7 +5,5 @@ project(gamemode LANGUAGES CXX C)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
add_library(gamemode include/gamemode_client.h)
 | 
					add_library(gamemode include/gamemode_client.h)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
target_link_libraries(gamemode PRIVATE common)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
target_include_directories(gamemode PUBLIC include)
 | 
					target_include_directories(gamemode PUBLIC include)
 | 
				
			||||||
set_target_properties(gamemode PROPERTIES LINKER_LANGUAGE C)
 | 
					set_target_properties(gamemode PROPERTIES LINKER_LANGUAGE C)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user