1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 09:47:34 +00:00

Meta: Include RPATH rules at top level to share them with Ladybird

When using Ladybird/ as CMake source directory, the RPATH rules were
left at the default, which is almost never correct.
This commit is contained in:
Andrew Kaster 2023-08-13 19:49:21 -06:00 committed by Andrew Kaster
parent 061061bd9c
commit ea0e07ec8f
4 changed files with 27 additions and 24 deletions

View file

@ -63,7 +63,8 @@ if (LADYBIRD_IS_TOP_LEVEL)
)
list(APPEND CMAKE_MODULE_PATH "${SERENITY_SOURCE_DIR}/Meta/CMake")
include(cmake/EnableLagom.cmake)
include(lagom_compile_options NO_POLICY_SCOPE)
include(lagom_compile_options)
include(lagom_install_options)
else()
# FIXME: Use SERENITY_SOURCE_DIR in Lagom/CMakeLists.txt
set(SERENITY_SOURCE_DIR "${SERENITY_PROJECT_ROOT}")