mirror of
				https://github.com/LizardByte/Sunshine.git
				synced 2025-10-29 19:36:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			5 lines
		
	
	
		
			336 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			336 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # macos specific target definitions
 | |
| target_link_options(sunshine PRIVATE LINKER:-sectcreate,__TEXT,__info_plist,${APPLE_PLIST_FILE})
 | |
| # Tell linker to dynamically load these symbols at runtime, in case they're unavailable:
 | |
| target_link_options(sunshine PRIVATE -Wl,-U,_CGPreflightScreenCaptureAccess -Wl,-U,_CGRequestScreenCaptureAccess)
 |