mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44:58 +00:00
Meta+Lagom: Enable CMAKE_BUILD_WITH_INSTALL_RPATH
On macOS, CMake incorrectly tries to add and/or remove rpaths from files that it has already processed when it performs installation. Setting the rpaths during the build process ensures that they are only set once, and as a bonus, makes installation slightly more performant. Fixes #10055.
This commit is contained in:
parent
2e3bff7ab1
commit
71b184accf
12 changed files with 28 additions and 27 deletions
|
@ -10,12 +10,12 @@ if [ -z "${MARKDOWN_CHECK_BINARY:-}" ] ; then
|
|||
echo "Directory Build/lagom/ does not exist. Skipping markdown check."
|
||||
exit 0
|
||||
fi
|
||||
if ! [ -r Build/lagom/markdown-check ] ; then
|
||||
if ! [ -r Build/lagom/bin/markdown-check ] ; then
|
||||
echo "Lagom executable markdown-check was not built. Skipping markdown check."
|
||||
echo "To enable this check, you may need to run './Meta/serenity.sh build lagom' first."
|
||||
exit 0
|
||||
fi
|
||||
MARKDOWN_CHECK_BINARY="Build/lagom/markdown-check"
|
||||
MARKDOWN_CHECK_BINARY="Build/lagom/bin/markdown-check"
|
||||
fi
|
||||
|
||||
if [ -z "$SERENITY_SOURCE_DIR" ] ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue