summaryrefslogtreecommitdiff
path: root/Userland/Applications/CharacterMap/CMakeLists.txt
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/CharacterMap/CMakeLists.txt
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/CharacterMap/CMakeLists.txt')
-rw-r--r--Userland/Applications/CharacterMap/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Userland/Applications/CharacterMap/CMakeLists.txt b/Userland/Applications/CharacterMap/CMakeLists.txt
index 4e7130890d..6308f3a702 100644
--- a/Userland/Applications/CharacterMap/CMakeLists.txt
+++ b/Userland/Applications/CharacterMap/CMakeLists.txt
@@ -9,11 +9,14 @@ compile_gml(CharacterSearchWindow.gml CharacterSearchWindowGML.h character_searc
set(SOURCES
CharacterMapWidget.cpp
- CharacterMapWindowGML.h
CharacterSearchWidget.cpp
- CharacterSearchWindowGML.h
main.cpp
)
+set(GENERATED_SOURCES
+ CharacterMapWindowGML.h
+ CharacterSearchWindowGML.h
+)
+
serenity_app(CharacterMap ICON app-character-map)
target_link_libraries(CharacterMap LibDesktop LibGUI LibMain LibUnicode)