mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:02:43 +00:00 
			
		
		
		
	 79adeb626b
			
		
	
	
		79adeb626b
		
	
	
	
	
		
			
			This is needed to avoid including LibC headers in Lagom builds. Unfortunately, we cannot rely on the build machine to provide a fully POSIX-compatible ELF header for Lagom builds, so we have to use our own.
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			282 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			282 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # LibELF is included within LibC on Serenity and defined as a target in a different place for Lagom,
 | |
| # so add a dummy interface library for platform-agnosticism.
 | |
| add_library(LibELF INTERFACE)
 | |
| 
 | |
| serenity_install_headers("LibELF")
 | |
| serenity_install_sources("Userland/Libraries/LibELF")
 |