mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	cmake: create SDL2::SDL2main target in Apple framework official release
This commit is contained in:
		 Anonymous Maarten
					Anonymous Maarten
				
			
				
					committed by
					
						 Sam Lantinga
						Sam Lantinga
					
				
			
			
				
	
			
			
			 Sam Lantinga
						Sam Lantinga
					
				
			
						parent
						
							645b0f6abf
						
					
				
				
					commit
					dc2ef31c29
				
			| @@ -58,7 +58,10 @@ if(NOT TARGET SDL2::SDL2) | ||||
|             COMPATIBLE_INTERFACE_BOOL "SDL2_SHARED" | ||||
|             INTERFACE_SDL2_SHARED "ON" | ||||
|     ) | ||||
|     set(SDL2_SDL2_FOUND TRUE) | ||||
| endif() | ||||
| set(SDL2_SDL2_FOUND) | ||||
|  | ||||
| add_library(SDL2::SDL2main INTERFACE IMPORTED) | ||||
| set(SDL2_SDL2main_FOUND TRUE) | ||||
|  | ||||
| check_required_components(SDL2) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user