mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +00:00 
			
		
		
		
	 ce2f1b845f
			
		
	
	
		ce2f1b845f
		
	
	
	
	
		
			
			Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			663 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			663 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     ClockSettings
 | |
|     RECOMMENDED
 | |
|     TARGETS ClockSettings
 | |
| )
 | |
| 
 | |
| compile_gml(ClockSettingsWidget.gml ClockSettingsWidgetGML.h clock_settings_widget_gml)
 | |
| compile_gml(TimeZoneSettingsWidget.gml TimeZoneSettingsWidgetGML.h time_zone_settings_widget_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     main.cpp
 | |
|     ClockSettingsWidget.cpp
 | |
|     TimeZoneSettingsWidget.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     ClockSettingsWidgetGML.h
 | |
|     TimeZoneSettingsWidgetGML.h
 | |
| )
 | |
| 
 | |
| serenity_app(ClockSettings ICON app-analog-clock) # FIXME: Create a ClockSettings icon.
 | |
| target_link_libraries(ClockSettings PRIVATE LibConfig LibCore LibGfx LibGUI LibMain LibLocale)
 | |
| link_with_locale_data(ClockSettings)
 |