mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 04:15:23 +03:00
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.
24 lines
663 B
CMake
24 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)
|