mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:22:43 +00:00 
			
		
		
		
	 253c1aa644
			
		
	
	
		253c1aa644
		
	
	
	
	
		
			
			This port was still using the upstream's master branch as opposed to a fixed git commit. Also, now that SDL2 is installed into /usr/local the build failed. I have also removed an obsolete patch because we're now linking against shared libraries for SDL2 and those already have appropriate library dependencies.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			733 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			733 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff -Naur SDLPoP-86988c668eeaa10f218e1d4938fc5b4e42314d68/src/CMakeLists.txt SDLPoP-86988c668eeaa10f218e1d4938fc5b4e42314d68.serenity/src/CMakeLists.txt
 | |
| --- SDLPoP-86988c668eeaa10f218e1d4938fc5b4e42314d68/src/CMakeLists.txt	2021-04-19 15:57:54.748801218 +0200
 | |
| +++ SDLPoP-86988c668eeaa10f218e1d4938fc5b4e42314d68.serenity/src/CMakeLists.txt	2021-04-19 15:59:47.581060085 +0200
 | |
| @@ -14,10 +14,10 @@
 | |
|  
 | |
|  # On macOS, if you used Homebrew to install SDL2, the location may be something like this:
 | |
|  
 | |
| -#set(SDL2 "/usr/local/Cellar/sdl2/2.0.5")
 | |
| +set(SDL2 "/usr/local")
 | |
|  
 | |
|  if (NOT(WIN32) AND (DEFINED SDL2))
 | |
| -    include_directories(${SDL2}/include)
 | |
| +    include_directories(${SDL2}/include/SDL2)
 | |
|      link_directories(${SDL2}/lib)
 | |
|  endif()
 | |
|  
 |