diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-10-16 23:42:18 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-17 15:55:55 +0200 |
commit | 3f13959c68b6e0a632bcea20b2015c9aaaadfa5d (patch) | |
tree | a385cb27d10b82c6551ed12a64df31839927a2ad /Kernel | |
parent | 61dd7d5d86d148fd1054acfe2622161913d4c53f (diff) | |
download | serenity-3f13959c68b6e0a632bcea20b2015c9aaaadfa5d.zip |
Kernel: Mark Version.h as a dependency of Kernel rather than ALL
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt index 1b575db4a5..d16a9a33d0 100644 --- a/Kernel/CMakeLists.txt +++ b/Kernel/CMakeLists.txt @@ -422,7 +422,7 @@ add_custom_command( OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/Version.h" VERBATIM ) -add_custom_target(generate_version_header ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/Version.h") +add_custom_target(generate_version_header DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/Version.h") set(GENERATED_SOURCES "${CMAKE_CURRENT_BINARY_DIR}/Version.h") generate_state_machine(../Userland/Libraries/LibVT/StateMachine.txt ../Userland/Libraries/LibVT/EscapeSequenceStateMachine.h) @@ -670,7 +670,7 @@ add_link_options(LINKER:-z,notext) add_library(kernel_heap STATIC ${KERNEL_HEAP_SOURCES}) add_executable(Kernel ${SOURCES}) -add_dependencies(Kernel generate_EscapeSequenceStateMachine.h) +add_dependencies(Kernel generate_EscapeSequenceStateMachine.h generate_version_header) if (NOT "${SERENITY_ARCH}" STREQUAL "aarch64") add_custom_command( |