diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-10-12 15:46:13 +0330 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-10-12 15:55:15 +0100 |
commit | 166a905951023a4c183a196ef444e689fdfa9697 (patch) | |
tree | c1d51009d5dc6fdb6f208fc40fdbbf6ad957068b /Userland/Games/GameOfLife | |
parent | c88058cea293b0dc158a7e1599a041af0e014edb (diff) | |
download | serenity-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/Games/GameOfLife')
-rw-r--r-- | Userland/Games/GameOfLife/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Userland/Games/GameOfLife/CMakeLists.txt b/Userland/Games/GameOfLife/CMakeLists.txt index dda37469ed..ebfd2c3a0c 100644 --- a/Userland/Games/GameOfLife/CMakeLists.txt +++ b/Userland/Games/GameOfLife/CMakeLists.txt @@ -10,9 +10,12 @@ set(SOURCES main.cpp Board.cpp BoardWidget.cpp - GameOfLifeGML.h Pattern.cpp ) +set(GENERATED_SOURCES + GameOfLifeGML.h +) + serenity_app(GameOfLife ICON app-gameoflife) target_link_libraries(GameOfLife LibGUI LibMain LibDesktop) |