summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-05-20 14:14:23 +0430
committerLinus Groh <mail@linusgroh.de>2021-05-20 12:11:27 +0100
commitc6b12841eef263239464486b35add9d3833c84b7 (patch)
tree56a380739d6569b67878804907bb49cf35a07352 /Kernel
parenta42bf0470181277d676dd0e99a577e727ea649db (diff)
downloadserenity-c6b12841eef263239464486b35add9d3833c84b7.zip
Meta: Make generate_state_machine() generate a proper target
And use GENERATED_SOURCES (or add_dependencies) to make LibVT depend on that target. Fixes a FIXME.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index 4bd5a17fb2..02859fdbf0 100644
--- a/Kernel/CMakeLists.txt
+++ b/Kernel/CMakeLists.txt
@@ -293,7 +293,6 @@ generate_state_machine(../Userland/Libraries/LibVT/StateMachine.txt ../Userland/
set(VT_SOURCES
../Userland/Libraries/LibVT/Terminal.cpp
../Userland/Libraries/LibVT/Line.cpp
- ../Userland/Libraries/LibVT/EscapeSequenceStateMachine.h
../Userland/Libraries/LibVT/EscapeSequenceParser.cpp
)
@@ -376,6 +375,8 @@ else()
endif()
add_executable(Kernel ${SOURCES})
+add_dependencies(Kernel generate_EscapeSequenceStateMachine.h)
+
if (ENABLE_KERNEL_LTO)
include(CheckIPOSupported)
check_ipo_supported()