mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Kernel: Mark Version.h as a dependency of Kernel rather than ALL
This commit is contained in:
parent
61dd7d5d86
commit
3f13959c68
Notes:
sideshowbarker
2024-07-17 06:00:02 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/3f13959c68 Pull-request: https://github.com/SerenityOS/serenity/pull/15659 Reviewed-by: https://github.com/linusg ✅
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue