ladybird/Userland/Applications/ClockSettings/CMakeLists.txt
Tim Schumacher ce2f1b845f Everywhere: Mark dependencies of most targets as PRIVATE
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.
2022-11-01 14:49:09 +00:00

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)