mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
Ladybird: Move helper processes to CMAKE_INSTALL_LIBEXECDIR
It aligns better with the Filesystem Heirarchy Standard[1] to put our program-specific helper programs that are not intended to be executed by the user of the application in $prefix/libexec or in whatever the packager sets as the CMake equivalent. Namely, on Debian systems this should be /usr/lib/Ladybird or similar. [1] https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec
This commit is contained in:
parent
c83e50af0b
commit
ea59bfaae7
12 changed files with 61 additions and 13 deletions
|
@ -8,7 +8,7 @@ set(ladybird_applications ladybird ${ladybird_helper_processes})
|
|||
|
||||
set(app_install_targets ${ladybird_applications})
|
||||
|
||||
install(TARGETS ${app_install_targets}
|
||||
install(TARGETS ladybird
|
||||
EXPORT ladybirdTargets
|
||||
RUNTIME
|
||||
COMPONENT ladybird_Runtime
|
||||
|
@ -26,6 +26,13 @@ install(TARGETS ${app_install_targets}
|
|||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
)
|
||||
|
||||
install(TARGETS ${ladybird_helper_processes}
|
||||
EXPORT ladybirdTargets
|
||||
RUNTIME
|
||||
COMPONENT ladybird_Runtime
|
||||
DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}
|
||||
)
|
||||
|
||||
include("${SERENITY_SOURCE_DIR}/Meta/Lagom/get_linked_lagom_libraries.cmake")
|
||||
foreach (application IN LISTS ladybird_applications)
|
||||
get_linked_lagom_libraries("${application}" "${application}_lagom_libraries")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue