mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:12:43 +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.
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     DisplaySettings
 | |
|     REQUIRED
 | |
|     TARGETS DisplaySettings
 | |
| )
 | |
| 
 | |
| compile_gml(BackgroundSettings.gml BackgroundSettingsGML.h background_settings_gml)
 | |
| compile_gml(DesktopSettings.gml DesktopSettingsGML.h desktop_settings_gml)
 | |
| compile_gml(EffectsSettings.gml EffectsSettingsGML.h effects_settings_gml)
 | |
| compile_gml(FontSettings.gml FontSettingsGML.h font_settings_gml)
 | |
| compile_gml(MonitorSettings.gml MonitorSettingsGML.h monitor_settings_window_gml)
 | |
| compile_gml(ThemesSettings.gml ThemesSettingsGML.h themes_settings_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     BackgroundSettingsWidget.cpp
 | |
|     DesktopSettingsWidget.cpp
 | |
|     EffectsSettingsWidget.cpp
 | |
|     FontSettingsWidget.cpp
 | |
|     MonitorSettingsWidget.cpp
 | |
|     MonitorWidget.cpp
 | |
|     ThemePreviewWidget.cpp
 | |
|     ThemesSettingsWidget.cpp
 | |
|     main.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     BackgroundSettingsGML.h
 | |
|     DesktopSettingsGML.h
 | |
|     EffectsSettingsGML.h
 | |
|     FontSettingsGML.h
 | |
|     MonitorSettingsGML.h
 | |
|     ThemesSettingsGML.h
 | |
| )
 | |
| 
 | |
| serenity_app(DisplaySettings ICON app-display-settings)
 | |
| target_link_libraries(DisplaySettings PRIVATE LibCore LibDesktop LibGfx LibGUI LibConfig LibIPC LibMain LibEDID LibThreading)
 |