1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00
serenity/Userland/Applications/KeyboardSettings/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

21 lines
507 B
CMake

serenity_component(
KeyboardSettings
REQUIRED
TARGETS KeyboardSettings
)
compile_gml(Keyboard.gml KeyboardWidgetGML.h keyboard_widget_gml)
compile_gml(KeymapDialog.gml KeymapDialogGML.h keymap_dialog_gml)
set(SOURCES
KeyboardSettingsWidget.cpp
main.cpp
)
set(GENERATED_SOURCES
KeyboardWidgetGML.h
KeymapDialogGML.h
)
serenity_app(KeyboardSettings ICON app-keyboard-settings)
target_link_libraries(KeyboardSettings PRIVATE LibCore LibGfx LibGUI LibKeyboard LibConfig LibMain)