summaryrefslogtreecommitdiff
path: root/Userland/Applications/GamesSettings
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-10-12 15:46:13 +0330
committerSam Atkins <atkinssj@gmail.com>2022-10-12 15:55:15 +0100
commit166a905951023a4c183a196ef444e689fdfa9697 (patch)
treec1d51009d5dc6fdb6f208fc40fdbbf6ad957068b /Userland/Applications/GamesSettings
parentc88058cea293b0dc158a7e1599a041af0e014edb (diff)
downloadserenity-166a905951023a4c183a196ef444e689fdfa9697.zip
Userland: Properly populate GENERATED_SOURCES
We previously put the generated headers in SOURCES, which did not mark them as GENERATED (and did not produce a proper dependency). This commit moves all generated headers into GENERATED_SOURCES, and removes useless header SOURCES.
Diffstat (limited to 'Userland/Applications/GamesSettings')
-rw-r--r--Userland/Applications/GamesSettings/CMakeLists.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/Userland/Applications/GamesSettings/CMakeLists.txt b/Userland/Applications/GamesSettings/CMakeLists.txt
index 7e5d41706c..5ae7e10bfb 100644
--- a/Userland/Applications/GamesSettings/CMakeLists.txt
+++ b/Userland/Applications/GamesSettings/CMakeLists.txt
@@ -7,11 +7,13 @@ serenity_component(
compile_gml(CardSettingsWidget.gml CardSettingsWidgetGML.h card_settings_widget_gml)
set(SOURCES
- main.cpp
- CardSettingsWidgetGML.h
- CardSettingsWidget.cpp
- CardSettingsWidget.h
- )
+ main.cpp
+ CardSettingsWidget.cpp
+)
+
+set(GENERATED_SOURCES
+ CardSettingsWidgetGML.h
+)
serenity_app(GamesSettings ICON games)
target_link_libraries(GamesSettings LibGUI LibMain LibCards)