mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 6988403d59
			
		
	
	
		6988403d59
		
	
	
	
	
		
			
			LibTimeZone will be needed directly within LibC for functions such as localtime(). This change adds LibTimeZone directly within LibC, so that LibTimeZone isn't its own .so library anymore. LibTimeZone itself is compiled as an object library to make it easier to give it generator-specific compilation flags.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| include(${SerenityOS_SOURCE_DIR}/Meta/CMake/time_zone_data.cmake)
 | |
| 
 | |
| set(SOURCES
 | |
|     TimeZone.cpp
 | |
|     ${TIME_ZONE_DATA_SOURCES}
 | |
| )
 | |
| 
 | |
| add_library(LibTimeZone OBJECT ${SOURCES})
 | |
| target_compile_definitions(LibTimeZone PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)
 |